auto-boxing
It involves the dynamic allocation of memory and initialization of an object for each primitive.
boxing and unboxing are automatically.
When it required ?
When a method is expecting a wrapper class object but the value that is passed as parameter is a primitive type. When primitive value assigned to wrapper class variable or reverse.