|
pretty close.. but when you print right you get :
//from base/derived
A1
A2
A3
Base1
Base2
Base3
Derived1
Derived2
Derived3
//from A
A1
A2
A3
Is there any way so that the base/derived class modifies the actual table from A? so the output will be:
//from base/derived
A1
A2
A3
Base1
Base2
Base3
Derived1
Derived2
Derived3
//from A
A1
A2
A3
Base1
Base2
Base3
Derived1
Derived2
Derived3
|