The Homework in Java