PPT Slide
5. Datatypes
a. Primitive Types
boolean
char (16-bit)
byte (8-bit signed)
short (16-bit signed)
int (32-bit signed)
long (64-bit signed)
float (32-bit signed)
double (64-bit signed)
b. Object Versions of Primitive Types
e.g. The Integer class extends the
abstract Number class to represent
the int type as a class.
Previous slide
Next slide
Back to first slide
View graphic version