CS2102: Object-Oriented Design Concepts
Preparing to Build Family Trees


Home | Staff and Office Hours | Lectures and Assignments | InstructAssist | Software and Materials | Policies

Come to Monday's class prepared with classes and interfaces needed to capture family trees. In a family tree, each person has a name (String), the family tree for their mother, and the family tree for their father. Make one example of a family tree that has at least three generations along some branch (in other words, you can start with a person and go as far as including at least one of their grandparents).

The notes do contain a class definition for Family Trees (at the beginning of section 10) which you can look at, but this is a terrific exercise to try before you look at the notes. It will test your understanding of how classes and interfaces work together to create trees in Java.

You will not be turning in your definitions. We will not check that you wrote them. We will assume, however, that you are prepared for us to start working with a Family Tree class without us developing it in class. How you get prepared for that is up to you.