These are named memory location for storing data Variables have data types that describe the value they can hold
- Primitive types: These types hold data bits in memory and examples are
- byte: Holds whole numbers byte byteMin = -128; byte byteMax = 127;
- short: Holds whole numbers short shortMin = -32768;
- int: Holds whole numbers int max = 2147483647; int min = -2147483648;
- long: Holds whole numbers long longMin = -9223372036854775808L; long longMax = 9223372036854775807L;
- float: Holds fractions
- double:
- Reference types:
- String