wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Boxing/Auto Boxing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Boxing/Auto Boxing" Watch "Boxing/Auto Boxing" New topic

Boxing/Auto Boxing

Balaji Sampath
Ranch Hand

Joined: Sep 30, 2005
Posts: 63
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
Veer Batra
Ranch Hand

Joined: Mar 12, 2001
Posts: 35
Autoboxing Sun Documentation
Vijayagopalan Raveendran
Ranch Hand

Joined: Apr 18, 2005
Posts: 41
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);

Vijay<br />SCJP 1.5 / SCWCD 1.4 / SCDJWS 1.4 / SCBCD 5/ SCEA 5 (P1)/ SOA 667
Don't get me started about those stupid light bulbs.
subject: Boxing/Auto Boxing
Similar Threads
are these one and the same
Auto Boxing and Unboxing
How does this compile?
In how many ways we can create an object? could you Explain with example if possible.
Autoboxing / unboxing