Saturday, 7 May 2011

Java Primitive Sizes

The sizes of Java primitives are:

TypeMin ValueMax ValueBits
byte-1281278
char06553516
short-327683276716
int-2147483648214748364732
long-9223372036854775808922337203685477580764

No comments: