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 maximum size of arraylist in java?

1014


What are the benefits of operations in java?

1057


Is java a software?

961


What is the simpletimezone class in java programming?

1136


What is instance synchronization?

1057


Explain public static void main(string args[]).

1186


What do you mean by pointer value and address?

1058


Program to Find the second largest element in an array.

1200


What do you mean by chromounits in java8?

962


Can we override constructor?

1036


Which class is the superclass for all the classes?

1029


What is the byte range?

1041


Where are local variables stored?

975


What is the symbol for average?

1034


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

937