| Author |
Important point regarding Autoboxing
|
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
|
|
Conversions between primitives and wrapper classes now happen automatically Drastically reduces the coding overhead The compile inserts the extra code Sorry, no null support Got from the tutorial ... please can any body explain me 4th point ??? thanks .
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
Goes boom.
|
 |
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3829
|
|
Thanks a lot Carol . we are getting NullPointerException because at the time of Auto Inboxing it internally calls intValue ( xxxValue ) & here everything goes wrong .. Right ?
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
There's always another question, eh? Looks like it's calling intValue() [ March 04, 2005: Message edited by: Carol Enderlin ]
|
 |
 |
|
|
subject: Important point regarding Autoboxing
|
|
|