Answer Posted / 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 |
Post New Answer View All Answers
Can java run on google chrome?
What is the protected method modifier?
Why is java logo a cup of coffee?
How do you do a line break in java?
What is a programming object?
What is the differences between c++ and java? Explain
Is singleton thread safe in java?
Can size_t be negative?
What is use of a abstract variable?
What is compareto?
What does those terms actually mean included in the j.d.k i.6?
Why java is call by value?
What is the main function in java?
what is the difference between yielding and sleeping? : Java thread
What is java util collection?