home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH01 / A01166.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-27  |  294.3 KB  |  1 channel  |  11,025 sample rate  |  27 seconds
Transcription: A program may use several classes. They may interact only with the client code or they may interact with each other through their defined interfaces. A new class can also be derived from one or more existing classes. C++ supports this form of code reuse through inheritance. For example, a class defined for bank accounts could be used as a base for derived classes defined for savings accounts and checking accounts.