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
What are 3 data types?
Is constructor inherited?
Variable of the boolean type is automatically initialized as?
What is the use of coding?
How you can force the garbage collection?
Is a method a function?
Is main is a keyword?
What is the final access modifier in java?
Does windows 10 need java?
What is the purpose class.forname method?
What is an class?
What is a flag value?
How can you say java is object oriented?
What is the difference between a window and a frame in java programming?
What is supplier in java?