Java Primitive Types


        Range  
Categories Type Keyword Size (Bytes) Low High Precision
Logical Boolean boolean n/a FALSE TRUE n/a
Charaters Characters char 2 0 65536 n/a
Int Types byte byte 1 -128 127 n/a
  short Integer short 2 -32768 32767 n/a
  integer int 4 -2147483648 2147483647 n/a
  long integer long 8 -9223372036854775808 9223372036854775807 n/a
Real Types floating point float 4 1.4 E -45 3.4 E +38 7
  extended precision double 8 4.9 E -324 1.7 E +308 15

Last Updated on 08/02/00
By William N Ross