Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is auto boxing

Answer Posted / vijay, hangar17

Auto boxing is introduced in jdk1.5
Automatic conversion from int to Integer is Auto boxing and
automatic conversion back from Integer to int is auto unboxing.

For example

int i;
Integer a

//Manual conversion

i = a.intValue();
a = new Integer(i);

By Auto boxing

i=a;
a=i;

Is This Answer Correct ?    43 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can java run on google chrome?

1196


What is the protected method modifier?

1048


Why is java logo a cup of coffee?

1176


How do you do a line break in java?

1026


What is a programming object?

1111


What is the differences between c++ and java? Explain

1057


Is singleton thread safe in java?

991


Can size_t be negative?

1181


What is use of a abstract variable?

991


What is compareto?

1040


What does those terms actually mean included in the j.d.k i.6?

2124


Why java is call by value?

1034


What is the main function in java?

1072


what is the difference between yielding and sleeping? : Java thread

970


What is java util collection?

1094