home *** CD-ROM | disk | FTP | other *** search
- As this example demonstrates, there is more to inheritance than
- base classes and derived classes sharing members. Inheritance
- lets you create a single class that defines a public interface for
- all of its derived classes. As long as these derived classes keep
- this interface, the client code can manipulate objects of these
- classes without regard to their exact type. The implementations
- of these derived classes can be changed, and new derived classes
- can be added, all without changing any of the client code.
-