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

Why is polymorphism used?

594


What is a null tree?

642


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

950


What is variable example?

601


What is the difference between a constructor and a destructor?

623






Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4256


What is abstraction encapsulation?

670


Can we have inheritance without polymorphism?

629


Plese get me a perfect C++ program for railway/airway reservation with all details.

3441


What is class and object with example?

599


Can static class have constructor?

595


class type to basic type conversion

1851


What is polymorphism explain its types?

697


What is abstraction in oop with example?

653


Where You Can Use Interface in your Project

1440