edited by
3,150 views
1 votes
1 votes

class dog : public x,public y

is an example of

  1. multiple inheritance
  2. repeated inheritance
  3. linear inheritance
  4. none
edited by

1 Answer

Best answer
2 votes
2 votes
ans is  A here  class dog is publicly deriving from 2 classes x and y so it will inherit the properties of both x,y hence it is a case of multiple inheritance
selected by

Related questions

0 votes
0 votes
4 answers
3