Autoboxing and Unboxing
Learn about autoboxing and unboxing.
We'll cover the following
What is autoboxing?
Autoboxing is an automatic conversion from the primitive types to their corresponding object wrapper classes. It includes converting an int
to an Integer
and a double
to a Double
.
Get hands-on with 1400+ tech skills courses.