Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Boxing/Auto Boxing

 
Balaji Sampath
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
Can anyone provide some freeware links to know concepts regarding boxing/auto boxing.

P.S: I did search in google but couldnt find a elementary approach of explanation in any website, I was trying to find if there are some sun java documents.


Thanks in advance
Balaji.S
 
Veer Batra
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Autoboxing Sun Documentation
 
Vijayagopalan Raveendran
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is the automatic conversion between the primitive types and their wrapper classes.

for eg, now you can directly use as follows,

Integer i = 10;

int j = new Integer(10);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic