Program to use Simple Wrapper Class in Java
// Program to use Simple Wrapper Class.
class Wrapper1
{
public static void main( String args[ ] )
{
// Boxing
Integer iOb = new Integer(100);// Unboxing
int i = iOb.intValue();System.out.println(i + " : " + iOb);
}
}
Output:100 : 100