Introduction To Java Homework