What is Inheritance in C++?

a) Wrapping of data into a single class
b) Deriving new classes from existing classes
c) Overloading of classes
d) Classes with same names

1 thought on “What is Inheritance in C++?”

  1. b
    Explanation: Inheritance is the concept of OOPs in which new classes are derived from existing classes in order to reuse the properties of classes defined earlier.

Leave a Comment