public class MainClass { public static void main(String[] argv) throws Exception { Integer A, B, C; A = new Integer(3); B = new Integer(4); C = A + B; System.out.println("Final value " + C); } }