Object-oriented programming is based on four important aspects: encapsulation, abstraction, inheritance, and polymorphism. Inheritance is a powerful way to reuse attributes and is a stepping stone towards polymorphism.
In this lesson, you find out about
Inheritance in the context of programming
The C++ syntax of inheritance
Problems caused by hiding ...