Update Exercise4.java