TECHNOLOGY

Autoboxing and Unboxing in Java

With Java 1.5, autoboxing and unboxing are introduced  to automatically convert the primitive type into boxed wrappers or vice versa.

Autoboxing:  It is the process of converting primitives to their corresponding object type automatically.

Unboxing: It is the process of converting object types to their corresponding primitives automatically.

Continue reading Autoboxing and Unboxing in Java