Designing an Inheritance Hierarchy

Inheritance hierarchies are easier to implement than to design, which makes it risky to start coding before clearly identifying your needs. Correcting design mistakes in a class hierarchy after implementation can require code changes that disable existing applications. This section discusses inheritance-hierarchy design considerations, giving you information that can help you avoid such mistakes.

In This Section