This all started with an innocent question of a mock exam, but when i added some autoboxing features, here's what happend... So young Tigers, can you spot which line will be printed, and which will (individually) cause a compile-errror or runtime-error? Enjoy, Renaud
<my-answer excuses-for-being-wrong="tired, beer, it's Sunday"> b == e a and b are equals a and c are equals a and e are equals b and c are equals b and e are equals c and e are equals java.lang.ClassCastException </my-answer>
Is your "innocent question" related to the apparant obscure output of the following?
[ February 06, 2005: Message edited by: Tony Morris ]