09 September, 2012

Primitives in JAVA

Primitives :

The following keywords are primitives:

boolean : A value indicating true or false.
byte : An 8-bit integer (signed).
char : A single Unicode character (16-bit unsigned)
double : A 64-bit floating-point number (signed).
float : A 32-bit floating-point number (signed).
int : A 32-bit integer (signed).
long : A 64-bit integer (signed).
short : A 16-bit integer (signed).