C++ Template Question: Download Questions PDF
What is Inheritance in C++?
![C++ Template Interview Answer C++ Template Interview Question](https://globalguideline.com/public/images/interview/6.png)
Answer:
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++.
Download C++ Template Interview Questions And Answers
PDF
Previous Question | Next Question |
What is Class element in C++? | What is Encapsulation in C++? |