Java Scrap Book  

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

Size Primitive Data Type

TypeSize
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-2017

javascrapbook.com 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: javascrapbook2013@gmail.com