Ad Code

What is Boxing and un-boxing


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.
Reactions

Post a Comment

0 Comments