posted 21 years ago
I've noticed that starting with "int", the wideners, in order add one byte to the name of the primitive, like this:
int(3)->long(4)->float(5)->double(6)
Kinda stupid memorization tool, I know, but there it is.
Then you just have to remember the 2 paths to int:
char->int & byte->short->int
and you've got it.