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 polymorphism is used in oops?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
write a programe to calculate the simple intrest and compund intrest using by function overlading
Give two or more real cenario of virtual function and vertual object
What does <> mean pseudocode?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is a null tree?
can we make game by using c
What is polymorphism and its types?
What is ambiguity in inheritance?
What does and I oop mean in text?
What is an advantage of polymorphism?
what's the basic's in dot net
What is the purpose of polymorphism?
program for insertion ,deletion,sorting in double link list