What is multiple inheritance?

Answer Posted / a h khan

if a class is derived from more than one base class then
inheritance is known as multiple inheritance.

the syntax of multiple inheritance is :-

class D : derivations B1, derivation B2,..........
{
member of class D
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a null tree?

632


What is the difference between a mixin and inheritance?

522


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2147


What are the 3 pillars of oop?

615


Describe these concepts: Polymorphism, Inheritance and Abstraction.

614






Why we use classes in oop?

583


How do you explain polymorphism?

592


What are classes oop?

598


What is difference between class and object with example?

564


What is the difference between a constructor and a destructor?

613


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1652


Can static class have constructor?

585


What is class in oop with example?

621


What is the example of polymorphism?

560


What is the benefit of oop?

570