Update Program2.java