C++ Derived Classes

Derived class can be defined by specifying its relationship with the base
class in addition to its own details.



The colon indicates that the derived class  is derived from the base class.

visibility  mode optional(public, private).


Examples :-

class abc : private abcd


//members of abc class





Follow Us

Contact Us


Back to Top