Exercise Set 7: Complex Class Hierarchies

Exercise 7.1 Given a UML diagram to represent the descendant tree, and the code that implements the method which counts the number of people in the descendant tree, develop the following methods:

Add the missing templates to all classes and continue to develop the templates as you work on this problem. Add one more generation (at least three grandchildren) to the test cases.

Last modified: Tues, May 13, 2003, 5:52 pm
HTML conversion by TeX2page 4q4