// 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
// 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
Java Program to find area of triangle
Break statement example in Java
stringBuffer delete function in Java
Program to change Font using setFont() method in Java
Program to draw Polygon in Applet using drawPolygon() method in Java
Program to explain partial implementation of an interface in Java
Using class without import in Java
Comparison in Enum example in Java
Program to calculate commission of salesman in Java
Program to draw Arc in Applet using fillArc() method in Java
Relational Operators Examples in Java
Program to Sum the digit of any given number in Java