Demo code for the book Core Java.