What is Boxing and un-boxing?
Conversion of a primitive type to the corresponding reference type is called boxing, such as an int to a
java.lang.Integer.
Conversion of the reference type to the corresponding primitive type is called unboxing, such as Byte
to byte.
java.lang.Integer.
Conversion of the reference type to the corresponding primitive type is called unboxing, such as Byte
to byte.
What is Boxing and un-boxing
Reviewed by MCH
on
April 18, 2014
Rating:
No comments: