Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Inheritance is a technique to re-use methods of a class.
There are three modes of inheritance:
- public inheritance, an 'is-a-kind-of' relationship, the most commonly used mode of inheritance
- protected inheritance, an obscure type of relationship
- private inheritance, an 'is-implemented-in-terms-of' relationship [1]
External links
- Scott Meyers. Effective C++ (3rd edition).ISBN:0-321-33487-6. Item 39: 'Use private inheritance judiciously'
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
