Exercises from the book by Bruce Eckel Thinking in Java.