pls plz help me ..
is there an easy way to remember the hierachy of data types in Bluej.?
the order goes like:
byte
char
short
int
long
float
double
Answers
Answered by
1
byte
char
short
int
long
float
Double
char
short
int
long
float
Double
ayushi114:
yez there is
Answered by
2
One way I found was to reorder the list into groups with same size and create a mnemonic to memorize it.
boolean (1 bits)
byte (8 bits)
char, short (16 bits)
int, float (32 bits)
long, double (64 bits)
Now the Spell :
1 hooligan got 8 bites and his 16 wheeled car was shot into floating waters double the size of london 64
hooligan : boolean
bites : byte
car - char
shot - short
double - double
london 64 - long
boolean (1 bits)
byte (8 bits)
char, short (16 bits)
int, float (32 bits)
long, double (64 bits)
Now the Spell :
1 hooligan got 8 bites and his 16 wheeled car was shot into floating waters double the size of london 64
hooligan : boolean
bites : byte
car - char
shot - short
double - double
london 64 - long
Similar questions