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

Explain importance of finally block in java?

1040


What is boolean law?

1066


What are decalarations?

1125


How will you compute size of a structure?

1181


What will be the default values of all the elements of an array defined as an instance variable?

1030


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

929


Is a string literal?

1097


What are the drawbacks of reflection?

1016


Is upper case in java?

960


What is the base class of all exception classes in java?

1056


Which sorting is used in arrays sort in java?

1080


What is the method to declare member of a class static?

1009


what is the volatile modifier for? : Java thread

998


What are access specifiers in java ?

1138


Can size_t be negative?

1175