Primitive Data Types
byte - 8 bits
short - 16 bits
int - 32 bits
long - 64 bits
float - 32 bits
double - 64 bits
boolean - True or false
char - 16 bits, Unicode
Get Java Garage now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.