well, Protected Member - A protected member is the same as a private member except that a protected member of a base class is inherited by a derived class, whereas a private member is not.
Public Member - A class member that is accessible to all the users of the class. the access is not restricted to the member and friend functions of the class alone. a public member of a base class is inherited by a derived class.
Private member - A class member that is accessible only to the member and friend functions of the class. A private member of a base class is not inherited by a derived class.
Answered by
Romi
, an ibibo Master,
at
11:34 AM on July 08, 2008