public class Accessor { public static void main(String[] args) { Integer i1 = new Integer(99); // Constructor 1 Integer i2 = new Integer("44"); // Constructor 2 int x1 = i1.intValue(); // Call accessor method int x2 = i2.intValue(); // Call accessor method System.out.println( x1 ); System.out.println( x2 ); } }