What is multiple inheritance? Give Example
Answer Posted / shree
class one
{
int a;
Public void Add();
}
Class Two
{ int b;
Public void Sub();
}
class Three:class one , class two
{
int c;
Public void Mul();
}
In this last class we inherited first two class that is more than one base class so mulptiple inheritance.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is an interface in oop?
Can destructor be overloaded?
What is polymorphism in oops?
Why polymorphism is used in oops?
What does it mean when someone says I oop?
Get me a number puzzle game-program
What is the use of oops?
Why do we need polymorphism in c#?
What is difference between inheritance and polymorphism?
What is encapsulation in simple terms?
program for insertion ,deletion,sorting in double link list
What are the 3 principles of oop?
What is a function in oop?
What is multilevel inheritance?
Which method cannot be overridden?