Update chap8class.java