Define inheritance?

0 votes
50 views
asked Jan 24, 2014 in C++ by Raja
Hi  all

   What is inheritance in oops concept?

1 Answer

0 votes
answered Jan 24, 2014 by Taj
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.
...