Update Exercise9.java