Object Oriented Programming20795 marksAccess Specifiers
What are the various class access specifies? How public inheritance differs from private inheritance?
What are the various class access specifies? How public inheritance differs from private inheritance? [5]
A class uses access specifiers to control the visibility of its data members and member functions. There are three access specifiers in C++: --- - Members declared as private are visible only to member functions of their own class. - They cannot be accessed from outside the class or by derived cl...