Good Day Friend!
Let me explain you what is wrapper object
java uses primitive types such as int and char for performance reasons. these data types are not part of the object hierarchy. They are passed by value to methods and cannot be directly passed by reference. Also, there is no way for two methods to refer to the same instance of an int. At times, we need to create an object representation for one of these primitive types.For eg, there are collection of these classes, that deal only with objects; to store a primitive type in one of these classes, we need to wrap the primitive type in a class. To address this need, Java provides classes that correspond to each of the primitive types. In essence, these classes encapsulate or wrap the primitive types with in a class. Thus they are commonly referred to as type wrappers.