C++ Derived Classes

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

 

derived-class

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

tutorialworldin@yahoo.com

Back to Top