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
Why is polymorphism used?
What is abstraction in oops with example?
What is abstraction in oops?
What are the important components of cohesion?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is methods in oop?
write a program to find 2^n+1 ?
What do you mean by overloading?
What is a function in oop?
Are polymorphisms mutations?
What is a null tree?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What does and I oop mean?
What are the three main types of variables?
What is class encapsulation?