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 / narayanarao

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 ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of lambda expressions?

999


How can constructor chaining be done by using the super keyword?

1040


Can an interface be final?

975


When should I use stringbuffer?

960


What are different types of expressions?

1047


Explain about instanceof operator in java?

999


What is the difference between java applets and applications?

1101


What do u mean by variable?

993


How are observer and observable used in java programming?

968


What are the differences between abstract class and interface?

990


What are different types of encoding?

1034


Mention a package that is used for linked list class in java.

904


Is it possible to use string in the switch case?

994


What is api data?

947


What is function overriding and overloading in java?

1053