Source Code for Inheritance Examples
Superclass - Item
Test Item
Subclass - HardwareItem derived, not inherited
Test HardwareItem
Subclass inherited from Item - Hardware
Test Hardware subclass
ProtectedItem: superclass with protected variables
ProtectedHardware: references protected variables
TestProtectedHardware
updated 31 March 2009
home