Wrapper Classes in Java
Generally, the wrapper class in Java is used to wrap or represent the value of primitive data types (int, boolean, etc.) as an object. It is a type of class whose object contains primitive data types. Here also include some methods which are used to unwrap the object back into a primitive data type. The wrapper class in java provide under java.lang package. There are two types of features are available to convert primitives into objects and objects into primitives i.e.: Autoboxing & Unboxing.