Hi Sunny,
take a look at this example:
See that Integers between -128 and 127 initialzed with literal will always have the same reference, because
java has a pool for it.
It works for Characters, Booleans, Longs, Integers, Shorts ands Bytes.
If i forgot any other, please, someone say please.
[ July 18, 2008: Message edited by: Raphael Rabadan ]