Update Program4.java