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
Is java hashset ordered?
What are the differences between string and stringbuffer?
What are the different types of garbage collectors in java?
What does percent mean in java?
Explain access modifiers in java.
How do you convert int to char in java?
Write a program to solve producer consumer problem in java?
What is unicode full form?
What are the skills required for core java?
What is a percentage sign called?
Explain listiterator and methods in listiterator?
What is an immutable object?
Can a hashset contain duplicates java?
what is the difference between a threads start() and run() methods? : Java thread
What is computer compiler?