Deriving New Classes
Go Up to Defining New Classes
There are two reasons to derive a new class:
In either case, the goal is to create reusable objects. If you design components with reuse in mind, you can save work later on. Give your classes usable default values, but allow them to be customized.