• Post Reply Bookmark Topic Watch Topic
  • New Topic

Autoboxing  RSS feed

 
Hemanth Abburi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is autoboxing used only for primitive to Wrapper class conversion or does it have anything more to it??

Thanks in advance,
Hemanth
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Autoboxing happens as any other implict conversion..
int - Integer-Object.
float-Float- Object.
& so on...
 
Campbell Ritchie
Marshal
Posts: 56595
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Hemanth A K" please read the important administrative private message I have just sent you.

CR
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!