Java Scrap Book  

Java Scrap Book > Data Type > Size of Primitive Data Type

Size Primitive Data Type

booleanSize of Boolean variable is not precisely defined.
byte 8-bit (1-byte)
short16-bit (2-byte)
int32-bit (4-byte)
long64-bit (8-byte)
char16-bit character
float32-bit (4-byte)
double64-bit (8-byte)

Copyright © 2013-2019 is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: