home *** CD-ROM | disk | FTP | other *** search
- The access that a derived class has to a base class member depends
- on two things: the access level of the base class member in the
- base class, and whether the inheritance is public, protected, or
- private. For example, if a member has an access level of
- protected in a base class, and the derived class has public
- inheritance, the member will have an access level of protected in
- the derived class as well.
-