Update Ch4Ex6.java