Posts

Inheritance in C++

Image
                                                                                        C++ Inheritance In C++, inheritance  may be a  process  during which  one object acquires all the properties and behaviors of its parent object automatically. In such way,  you'll  reuse, extend or modify the attributes and behaviors which are defined in other class. In C++,  the category  which inherits the members of another class  is named  the derived class  and therefore the  class whose members are inherited  is named  the bottom  class. The derived class  is that the  specialized class for  the bottom  class. When creating  a category  ,  rather than  writing compl...