Just for reference, here are the sizes of Java's primitive types
boolean -  1 bit (can represent 1 bit of information - true or false)
byte    -  8 bits or 1 byte
char    - 16 bits or 2 bytes (char represents a 2-byte Unicode character)
short   - 16 bits or 2 bytes
int     - 32 bits or 4 bytes
float   - 32 bits or 4 bytes
double  - 64 bits or 8 bytes
long    - 64 bits or 8 bytes
Note - the size refers to the range of numbers you can represent by the primitive type.
The amount of memory used to store each primitive in the Java Virtual Machine is dependent on the JVM implementation.