What is multiple inheritance?

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


Please Help Members By Posting Answers For Below Questions

to find out the minimum of two integer number of two different classes using friend function

1869


What is polymorphism and its types?

804


What are the two different types of polymorphism?

894


What is encapsulation in oops?

759


Why do we use class in oops?

744


Can enum be null?

764


what are the realtime excercises in C++?

2548


What causes polymorphism?

813


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?

1619


What is encapsulation example?

764


Why do we use oops?

755


Why do we use inheritance?

817


What do you mean by variable?

758


What is inheritance write a program to show use of inheritance?

868


What is meant by multiple inheritance?

936