Autoboxing and Unboxing in Java
Too Long; Didn't Read
The wrapper classes in Java are those classes that provide Java coders with the functionality of converting primitive data types to objects (called boxing) and objects to primitive data type (called unboxing) After Java 5.0, a concept of Autoboxing and Unboxing came to the picture, which uses Wrapper classes. These are called wrapper classes because they create a. wrapper around the primitive data. types, i.e., a. box around the. primitive. data types in Java, whereas Objects are formed in heap.