Lesson 10. Implementing Inheritance
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
public
, private
, and protected
inheritance
Multiple inheritance
Problems caused by hiding ...
Get Sams Teach Yourself C++ in One Hour a Day, Eighth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.