A Study on Inheritance in Object Oriented Programming with C++ and its Implementation in Developing Programs
Inheritance is the mechanism of deriving a new class “sub class” from an old class “base class”. Inheritance is an
important part of object-oriented programming because it allows re-usability code whereby new components can be created
by utilizing existing components which is yet another important aspect of Object Oriented paradigm. It is always productive
and if we are able to reuse something that is already exists rather than creating the same all over again. This is achieve by
creating new classes, reusing the properties of existing classes which saves time, space and makes it easy to make changes in
the programs or applications designed using this approach.
In this paper we have studied inheritance and its types in C++ and Java languages.