home *** CD-ROM | disk | FTP | other *** search
- To use a class, the client code needs to know only the
- specification of the interface for the class. An interface to the
- class is provided by some of the functions that are members of the
- class. The class should include functions that support every
- activity the client code requires. The relationship between
- client and class can be viewed as a contract: if the client
- program uses the interface correctly, the class should perform
- correctly.
-