home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH01 / A01167.TXT < prev    next >
Encoding:
Text File  |  1993-10-27  |  497 b   |  9 lines

  1. Often, several types of objects have common features, or are
  2. subgroupings of a more general data type.  In C++ you can reuse
  3. code and group the objects into a hierarchy of classes.  Classes
  4. that are built on other classes inherit their characteristics and
  5. may also have additional characteristics.  For example, all bank
  6. accounts have an identifying number and a balance.  However,
  7. savings accounts also have an interest rate, while checking
  8. (chequing) accounts may have a service charge.
  9.