once a member of a class is declared as private, its visibility is restricted to a class.Only member functions of the same class can access those private members.
Type: Posts; User: pradeeban2getplaced; Keyword(s):
once a member of a class is declared as private, its visibility is restricted to a class.Only member functions of the same class can access those private members.
There are 6 types of inheritance viz,
1.Single level inheritance
2.Multiple level inheritance
3.Multilevel inheritance
4.Hybrid inheritance
5.Heirarchial inheritance
6.Multipath inheritance