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