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 difference between pop and oop?
What is polymorphism programming?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What are objects in oop?
What is the main purpose of inheritance law?
How oops is better than procedural?
What is the difference between static polymorphism and dynamic polymorphism?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is cohesion in oop?
What is the point of oop?
What is the use of oops?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Prepare me a program for the animation of train
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Write a program to sort the number with different sorts in one program ??