What is multiple inheritance? Give Example
Answer Posted / sadikhasan,meta
Multiple inheritance means duplicate copy of base class is
derive into child class. which explain by following example.
class A
{
}
class B: public A
{
}
class C:public A
{
}
class D:public B,public C //duplicate data
{
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is purpose of inheritance?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is a superclass in oop?
Who invented oop?
What does sksksk mean in text slang?
What is inheritance write a program to show use of inheritance?
What is the oops and benefits of oops programming?
Can private class be inherited?
What is coupling in oop?
What is byval and byref? What are differences between them?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why is abstraction used?
What is the difference between abstraction and polymorphism?
what is graphics
What is oops concept with example?