|
This whole process can be generalized to libraries of objects, as illustrated in the following relationship diagram. |
|||||||||||||||||||||||
|
Object |
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Character |
Date |
Time |
Number |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
Float |
Fraction |
||||||||||||||||||||||
|
Let us now look at some specifics to explain how Circle inherits the members of Shape, along with its constructors and destructors. The basics:
|
|||||||||||||||||||||||
|
March 11, 1998 |
Page 11 |
C201/TAM |
|||||||||||||||||||||