1 | A variable is either a primitive type such as int, float or double, or it is an object. |
2 | Note that there is no primitive type for Complex. |
3 | Type Size in bits Values: example Standard |
4 | boolean 1 true or false |
5 | char 16 \u0000 to \uFFFF ISO Unicode |
6 | byte 8 signed integer: 0 |
7 | short 16 signed integer |
8 | int 32 signed integer |
9 | long 64 signed integer |
10 | float 32 floating pt: 0.0f IEEE 754 |
11 | double 64 floating pt: 0.0 IEEE 754 |