home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH13 / A13111.TXT < prev    next >
Encoding:
Text File  |  1993-11-24  |  358 b   |  7 lines

  1. When you specify the base class of a derived class, you can also
  2. specify the access that the derived class has to the base class.
  3. Access levels can be public, protected, or private.  The default
  4. is private.  In this example, derived1 and derived4 have private
  5. inheritance, while derived2 has protected inheritance, and
  6. derived3 has public inheritance.
  7.