Object-Oriented Programming with Inheritance
Lecture no. 20 from the course: Introduction to C++: Programming Concepts and Applications
Taught by Professor John Keyser | 32 min | Categories: The Great Courses Plus Online Professional Development Courses
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.