The Integer class wraps a value of the primitive type int in an object.
An object of type Integer contains a single field whose type is int.
We can use the methods of Integer class to convert an int to a String or convert a String to an int.
int val = 123; Integer valAsInteger = 123; //Autoboxing ( Converting from int to Integer)