The Gateway to Computer Science Excellence
+1 vote

class dog : public x,public y

is an example of

  1. multiple inheritance
  2. repeated inheritance
  3. linear inheritance
  4. none
in Object Oriented Programming by Active (2.3k points)
edited by | 827 views

1 Answer

+2 votes
Best answer
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
by Boss (49.3k points)
selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,291 answers
104,889 users