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 interface? When and where is it used?
What is property in oops?
What is polymorphism what is it for and how is it used?
What do you mean by Encapsulation?
What is methods in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What is polymorphism and why is it important?
What exactly is polymorphism?
What language is oop?
Advantage and disadvantage of routing in telecom sector
What are the components of marker interface?
What is an advantage of polymorphism?
How does polymorphism work?
What is meant by oops concept?
What is oops and its features?