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

  1. To use a class, the client code needs to know only the
  2. specification of the interface for the class.  An interface to the
  3. class is provided by some of the functions that are members of the
  4. class.  The class should include functions that support every
  5. activity the client code requires.  The relationship between
  6. client and class can be viewed as a contract:  if the client
  7. program uses the interface correctly, the class should perform
  8. correctly.
  9.