Update class2.java