Abstract

Reusability is one of most important advantage of C++ programming language. C++ classes can be reused in several ways. Once the parent (Base) class has been written it can be modified by another programmer to suit their requirements. The main idea of inheritance is creating new classes, reusing the properties of the existing base class. The mechanism of deriving a new class (Child/Derived Class) from an Existing class (Base/Parent Class) is called inheritance. The old class is referred to as the base (Parent) class and the new class is called the derived class (Child) or subclass. A derived class includes all features of the generic base class and then adds qualities specific to the derived class. This paper reflects the study of the Inheritance concept and its types using C++ (oops).

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.