Mega Code Archive
Categories
/
Java Tutorial
/
Data Type
Manually boxes the value 100 into an Integer
public class MainClass { public static void main(String args[]) { Integer iOb = new Integer(100); int i = iOb.intValue(); System.out.println(i); } } 100