search
Log In
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
1 vote
1.4k views

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
edited by
1.4k 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

selected by

Related questions

0 votes
1 answer
1
61 views
If the objects focus on the problem domain, then we are concerned with Object Oriented Analysis Object Oriented Design Object Oriented Analysis and Design None of the above
asked Apr 1 in Object Oriented Programming Lakshman Patel RJIT 61 views
0 votes
1 answer
3
143 views
Given a class named student, which of the following is a valid constructor declaration for the class? Student student(){} Private final student(){} Student(student s){} Void student(){}
asked Mar 31 in Object Oriented Programming Lakshman Patel RJIT 143 views
0 votes
1 answer
4
...