| 12.1 |
Introduction |
| 12.2 |
Base Classes and Derived Classes |
| 12.3 |
protected
Members |
| 12.4 |
Relationship between Base Classes and Derived
Classes |
| |
12.4.1 |
Creating and Using a
CommissionEmployee Class |
| |
12.4.2 |
Creating a
BasePlusCommissionEmployee Class Without Using Inheritance |
| |
12.4.3 |
Creating a
CommissionEmployee–BasePlusCommissionEmployee Inheritance
Hierarchy |
| |
12.4.4 |
CommissionEmployeeBase–PlusCommissionEmployee Inheritance
Hierarchy Using protected Data |
| |
12.4.5 |
CommissionEmployee–BasePlusCommissionEmployee Inheritance
Hierarchy Using private Data |
| 12.5 |
Constructors and
Destructors in Derived Classes |
| 12.6 |
public,
protected and private Inheritance |
| 12.7 |
Software Engineering with
Inheritance |
| 12.8 |
Wrap-Up |