0 votes
asked in C++ by
Hi  all

   What is inheritance in oops concept?

1 Answer

0 votes
answered by
The mechanism of deriving a new class (derived) from an old class (base class) is called inheritance. It allows the extension and reuse of existing code without having to rewrite the code from scratch. Inheritance is the process by which objects of one class acquire properties of objects of another class.