home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH01 / A01166.TXT < prev    next >
Encoding:
Text File  |  1993-09-30  |  441 b   |  8 lines

  1. A program may use several classes.  They may interact only with
  2. the client code, or they may interact with each other through
  3. their defined interfaces.  A new class can also be derived from
  4. one or more existing classes.  C++ supports this form of code
  5. reuse through inheritance.  For example, a class defined for bank
  6. accounts could be used as a base for derived classes defined for
  7. savings accounts and checking (chequing) accounts.
  8.