My solution for chapter 2, exercise 10 for object oriented design and programming using java by dave skriel