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 constructor overloading in oop?
What is abstraction in oop?
What is oops?what is its use in software engineering?
How do you define social class?
What polymorphism means?
Why we use classes in oop?
What are oops methods?
What is the purpose of polymorphism?
What is abstraction in oop with example?
What is overloading in oop?
Why multiple inheritance is not possible?
Why is polymorphism used?
What is for loop and its syntax?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is the full form of oops?