Which OOP concept allows a derived class to acquire accessible members of a base class?
Options
A.
Abstraction
B.
Inheritance
C.
Encapsulation
D.
More than one of the above
E.
None of the above
Correct Answer (Detailed Explanation is Below)
B.
Inheritance
Detailed Explanation
Correct Answer: Option B
Explanation: Inheritance allows a derived class to reuse and extend the accessible members of a base class. In C++, inheritance can be public, protected, or private. Private members of the base class are not directly accessible by the derived class.