<<< Primitive Data Types | Index | Floating-point data types >>> |
char // 2 bytes in memory
byte // 1 byte
short // 2 bytes
int // 4 bytes
long // 8 bytes
Note: all integral data types are primitive data types.
<<< Primitive Data Types | Index | Floating-point data types >>> |