January 2014
Intermediate to advanced
736 pages
70h 43m
English
Java provides boxing and unboxing conversions to automatically convert between primitivetype values and type-wrapper objects. A boxing conversion converts a value of a primitive type to an object of the corresponding type-wrapper class. An unboxing conversion converts an object of a type-wrapper class to a value of the corresponding primitive type. These conversions are performed automatically (called autoboxing and auto-unboxing), allowing primitive-type values to be used where type-wrapper objects are expected and vice versa.
Read now
Unlock full access