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

Answers were Sorted based on User's Feedback



what is auto boxing..

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

what is auto boxing..

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

what is auto boxing..

Answer / uttam

the above one is correct

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

what is the difference between @include page and @include file

2 Answers  


What is jvm? How its run?

0 Answers  


What is the difference between Static and final?

1 Answers  


What is autoboxing in java?

0 Answers  


what happens when we add the objects morethan the size limit to a hashmap

1 Answers  


what is multi-tasking

3 Answers   Anand Group, Photon Infotech, Tech Mahindra,


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

0 Answers  


What are access modifiers in Java ?

6 Answers  


Explain about assignment statement?

0 Answers  


How do you include a string in java?

0 Answers  


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

0 Answers  


What is package private scope in java?

0 Answers  


Categories