up previous next contents
Next: Designing a class to Up: Extending Classes Previous: Cloning objects   Contents

Extending classes: how and when

  • Ability to extend classes - large part of the benefits of OOP.
  • Creates an "IsA" relationship, not a "HasA" relationship.
  • Employee / Role example (see text).


up previous next contents
Next: Designing a class to Up: Extending Classes Previous: Cloning objects   Contents