Update Ch08Qn04.java