A study on object oriented programming with c++

  • Navpreet singh Dronacharya college of engineering
Keywords: Reusability, Base class – Subclass, Private data member, Public data member and Types of Inheritance


 C++ strongly supports the concept of Reusability. The C++ classes can be reused in several ways. Once a class has been written and tested, it can be adapted by another programmer to suit their requirements. This is basically done by creating new classes, reusing the properties of the existing ones. The mechanism of deriving a new class from an old one is called INHERITANCE