October 2008
Beginner to intermediate
680 pages
16h 48m
English
So far, the inheritance hierarchies we looked at are known informally as "single inheritance" hierarchies because any particular class in the hierarchy may only have a single direct base class (immediate ancestor). In the hierarchy shown in Figure 5-8, for example, classes marked B, C, and I all have the single direct base class A; D, E, and F have the single direct base B; and G and H have the single direct base E.
If we for some reason find ourselves needing to meld together the characteristics of two different base classes to create a hybrid third ...
Read now
Unlock full access