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 is a “stateless” protocol ?
What is tochararray in java?
What is an error in java?
What is the technique adopted to create an immutable class?
What is the difference between Java1.4 and Java1.5
What will be the default values of all the elements of an array defined as an instance variable?
how to write a server program and sending the mails to the server using smtp protocol please help me
Is finalize() similar to a destructor?
What type of variable is error flag?
What classes of exceptions may be caught by a catch clause in java programming?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
How does java enable high performance?
What are different types of arrays?
What is scope of a variable?
What is the point of java?