Introduction to C++: Programming Concepts and Applications
Introduction to C++: Programming Concepts and Applications
Object-Oriented Programming with Inheritance (1x20)
:
Explore the power of inheritance, which is a technique for creating classes that inherit properties from another class, called the base class. Using this tool, you can define a variable or function just once and then use it in multiple classes. Walk through several examples of inheritance, seeing how it greatly reduces complexity by eliminating redundant code.