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 immutable state?

0 Answers  


What are loops in java?

2 Answers  


What is difference between array and arraylist in java?

0 Answers  


What are the changes in java.io in java 8 ?

0 Answers  


What is meant by event handling in SAX parser?

1 Answers   Ness Technologies,


What happens if an exception is throws from an object's constructor?

0 Answers   Amazon,


Which object oriented concept is achieved by using overloading and overriding?

0 Answers  


What state is a thread in when it is executing?

0 Answers  


Are floats faster than doubles?

0 Answers  


Can you change array size in java?

0 Answers  


Define class?

0 Answers  


What are pass by reference and pass by value?

0 Answers  


Categories