Answers

Question and Answer:

  Home  C++ Template

⟩ What is Inheritance in C++?

Inheritance enables a new class to reuse the state and behavior of old class. The new class inherits properties and methods from the old class and is called as derived class and the old class is called as base class. The methods thus inherited can be extended using overriding facility of C++.

 232 views

More Questions for you: