Introduction to Object Oriented Programming, 3rd Ed
Chapter 8
Inheritance and Substitution
Outline
- Roadmap
- Abstract idea of Inheritance
- Practical Meaning of Inheritance
- Private Public and Protected
- Inheritance is both Extension and Contraction
- The Is-a rule
- Reuse of Code, Reuse of Concept
- Syntax for Inheritance
- Trees vs Forests
- An Argument for Substitution
- Subclass vs Subtype
- Syntax for Overriding
- Interfaces and Abstract Classes
- Forms of Inheritance
- Benefits of Inheritance
- The Costs of Inheritance
- Chapter Summary
Other Material
Intro OOP, Chapter 7, outline