Described multiple inheritance(virtual inheritance)?, C/C++ Programming

Described multiple inheritance(virtual inheritance)? And explain its advantages and disadvantages?

A: It is the procedure in which a child can be derived from more than one parent class. The benefit of multiple inheritances is that it let a class to inherit the functionality of more than one base class therefore allowing for modeling of difficult relationships.

The drawback of multiple inheritance is that it can lead to lots of confusion(ambiguity) while two base classes implement a method by the same name.

 

 

Posted Date: 3/16/2013 2:53:12 AM | Location : United States







Related Discussions:- Described multiple inheritance(virtual inheritance)?, Assignment Help, Ask Question on Described multiple inheritance(virtual inheritance)?, Get Answer, Expert's Help, Described multiple inheritance(virtual inheritance)? Discussions

Write discussion on Described multiple inheritance(virtual inheritance)?
Your posts are moderated
Related Questions
program that convert take decimal digit and convert it to binart digit

write a c program that multiplies 3 martices

program to convert string from super ascii string with minimum cost

Write a Program for Calculating Value of an Integer? For a clear understanding of recursive function we shall see an illustration for calculating value of an integer. main() {

one of the applications of computers in numerical analysis is computing the area under a curve. one method of calculating the area under acurve is to divide the area int a number o

# c pragram TO count the number of occurances of the string in nth padovan''s string program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : pa

Requirements Create a "makefile" that will manage the construction of a program The name of the makefile must be: makefile The make file must produce an executable

#include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0; int s=0; for(k=0;k { ind[k]=0; } int cnt1=0; for(i=0;i


Question: (a) (i) Explain how class members can be accessed when using objects of the class. Use a suitable example to illustrate your answer. (ii) Explain how the privat