public class Main { public static void main(String[] args) { Integer intObj1 = new Integer(10); Integer intObj2 = new Integer("10"); System.out.println(intObj1); System.out.println(intObj2); } }