Chapter 23. Object-Oriented Programming: Inheritance
Say not you know another entirely, till you have divided an inheritance with him.
|--Johann Kasper Lavater|
This method is to define as the number of a class the class of all classes similar to the given class.
Good as it is to inherit a library, it is better to collect one.
Save base authority from others’ books.
In this chapter you will learn:<objective>
To create classes by inheriting from existing classes.</objective> <objective>
How inheritance promotes software reuse.</objective> <objective>
The notions of base classes and derived classes and the relationships between them.</objective> <objective> ...