Explain examples of inheritance in c++ programming
Answers
Answered by
3
Inheritance is one of the feature of Object Oriented Programming System(OOPs), it allows the child class to acquire the properties (the data members) and functionality (the member functions) of parent class. A class that inherits another class is known as child class, it is also known as derived class or subclass.
Similar questions