Update Program3.java