Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
31 / 187
What do you mean by inheritance?
Answer:
Creating a new class, reusing the properties of the existing ones ,this mechanism of deriving a new class from the old one is called inheritance or derivation. The old class is referred to as the bare class and the new one is called the derived class or subclass.
Asked In ::
Ambrish Pandey
23 Feb, 2019 5:07 AM
Creating a new class, reusing the properties of the existing ones ,this mechanism of deriving a new class from the old one is called inheritance or derivation. The old class is referred to as the bare class and the new one is called the derived class or subclass.