Java code for 'OCA/OCP Java SE 7 Programmer I and II Study Guide' by Kathy Sierra and Bert Bates