|
|
Inheritance, a major component of OOP, is a technique that will allow you to define a very general class and then later define more specialized classes based upon it. You will do this by adding some new capabilities to the existing class definitions or changing the way the existing methods work. Inheritance saves work because the more specialized class inherits all the properties of the general class and you, the programmer, only need to program the new features.
The key topics for this lesson are:
- Single Inheritance
- Class Hierarchies
- Using Inheritance
- Method Overriding
- Interfaces
|