SynergisticIT Interview Question

What is the inheritance in C++

Interview Answer

Anonymous

Aug 16, 2019

Inheritance means one class can extend to another class. So that the codes can be reused from one class to another class. Existing class is known as Super class whereas the derived class is known as a sub class.