Primitive Data Types and Wrapper Classes

By Raul Rios

The following table lists the primitive data types that are available in Java: Type Size (bits) Default value Range byte 8 0 -128 to 127 short 16 0 -32768 to 32767 int 32 0 -2n-1 to 2n-1-1 long 64 0L -2n-1 to 2n-1-1 float 32 0.0f No need to know ..Continue Reading