Google News
logo
CPP - Quiz(MCQ)
Which feature of the OOPS gives the concept of reusability?
A)
Abstraction
B)
Encapsulation
C)
Polymorphism
D)
Inheritance

Correct Answer :   Inheritance


Explanation : The process of designing a new class (derived) from the existing (base) class to acquire the attributes of the existing is called as inheritance. Inheritance gives the concept of reusability for code/software components.

Advertisement