1. The OO principle of inheritance enables youto create a generalized class and then derivemore specialized classes from it. Inheritance is the ability to take on…
CS 2133: Data Structures OOP, Virtual Functions and Inheritance Inheritance C++ Classes provide a way to enforce the walls of data abstraction by encapsulating the data and…