Answer Posted / kaush
when one one class(derived class) inherit from more than one
class(base class) then it is called multiple inheritance.
like as,,
class program
{
class a
{
}
class b
{
}
class c:a,b
{
}
}
but in c# multiple inheritance not allowed.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
What is polymorphism and its types?
What are the two different types of polymorphism?
What is encapsulation in oops?
Why do we use class in oops?
Can enum be null?
what are the realtime excercises in C++?
What causes polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is encapsulation example?
Why do we use oops?
Why do we use inheritance?
What do you mean by variable?
What is inheritance write a program to show use of inheritance?
What is meant by multiple inheritance?