CS471 Program Language Structure I
Spring 1999
Inheritance
Ineritance can support the idea of type/subtype and is the only way in C++ to relate two classes directly. However, objects can have many other relationships. Sketch C++ class structures with suitable members to support the following object relationships:
Notes
This is an exercise in object-oriented analysis and representation of this analysis in an object-oriented language. You can use any feature of C++ you think useful, but in each case, state the reasons for making the choices you did.
Due Date
April 19th. in class.