Create ch3_6.java