Online Java Compiler By
JavaTpoint.com
public class IntegerIntValuetExample1 { public static void main(String[] args) { Integer object = new Integer(25); // returns the value of this Integer as an int int i = object.intValue(); System.out.println("Value of i is: " + i); } }
Output