# Working With Data Types

Every Java variable has a data type that decides what it can hold (whole numbers, decimals, a single character, text, or true and false), and each type has its own way to write a literal value.

![Cheat sheet: Working With Data Types](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/1a4e448226a04370bb21e0dbfaec9c5c.webp)

- Category: Java
- Level: Novice
- Tags: java
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/working-with-data-types-cheat-sheet
