Java Primitive Data Types
Type Bits Values Standard
boolean Machine
Dependent
true or false  
char 16 0 to 65535 ISO Unicode character set
byte 8 -128 to +127  
short 16 -32 768 to +32 767  
int 32 -231 to +231-1  
long 64 -263 to +263-1  
float 32   IEEE 754 floating point
double 64   IEEE 754 floating point

Java Operators

Operators Associativity Type
() left to right parentheses
++ -- right to left unary postfix
++ -- + - (type) right to left unary
* / % left to right multiplicative
+ - left to right additive
< <= > >= left to right relational
= = != left to right equality
?: right to left conditional
= += -= *= /= %= right to left assignment

 Get Firefox!

©2003 C. Whittington