Assignments from chapter 2

The UML diagram, Figure 2.9, “UML Diagram of Class Inheritance” is a contract to be filled in by the programmer. Fill it in! This means

  • that class by class you must code whatever is specified in the diagram
  • you may borrow all the code from the lesson, but DO key it in. Do NOT ctrl-v
  • you must test the classes individually
  • you must test the interaction of the classes
  • you must ask me the proper questions, beyond what has been said, to enable you to do it
  • you must work in Eclipse
  • you may work in pairs, not more
  • you must hand in re the above spec, before Sunday 2011-02-13T10:00:00

One possible solution would be:





For the hell of it, and in order for me to gauge your basic programming skills, and thoughts, please create