Please see attachment file for more details© BrainMass Inc. brainmass.com March 21, 2019, 7:31 pm ad1c9bdddf
The first question asks about the derivations of classes. The arrows
in the diagram indicate "derives from". That is, if class B has an
arrow to class A that means that class B derives from class A. With
that in mind we can answer each of the given questions:
i) A is a derived class of B and B is a derived class of C.
This is false. The arrows go from C to B and B to A, not the other
ii) C is a derived class of B and B is a derived class of A.
This is tue. The arrows are heading in the correct direction.
iii) A and B are both derived classes of C.
False. Instead C derives from B (and A).
iv) B and C are both derived from A.
True. B derives ...
This solution provides detailed answers to explain several questions about class inheritance in an object oriented design.