Which of the following shows multiple inheritances?

a) A->B->C
b) A->B; A->C
c) A,B->C
d) B->A

1 thought on “ Which of the following shows multiple inheritances?”

  1. c
    Explanation: In multiple inheritance, a single class is inherited from two classes. So in A,B->C, Class C is inherited from A and B, whereas in A->B->C, C from B and B from A called simple inheritance, in A->B; A->C, B and C are inherited from A which is called hierarchical inheritance.

Leave a Comment