What is Inheritance in C++?

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

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

  1. a
    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