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 primitive array?

852


Name few java.lang classes introduced with java 8 ?

935


I don’t want my class to be inherited by any other class. What should I do?

964


Are variables stored in ram?

952


What is ascii code?

1151


what is heap memory?

1038


Does java have extension methods?

911


Why Java is not pure Object Oriented language?

1058


Is this valid in java ? Can we instantiate interface in java?

920


Can you explain the usages of class.forname()?

1013


What is pre increment and post increment in java?

939


What is the benefit of lambda expressions?

971


Differences between traditional programming language and object oriented programming language?

1059


Why do we declare a class static?

1043


What are the types of java languages?

928