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
#quGiven the Array class definition in Fig. 11.10-11.11 (pp. 476-479) of the textbook, write a new overloaded operator function for the ‘%’ (modulus) operator (i.e., return an arra

draw the flow chart to print the fibonacci series upto n th terms

Create an applet that bounces a blue ball inside an applet using Thread. The ball (diameter is 10) will start at position (0,0). When the ball hits the edge of the applet, the ba

3 kilograms of peebles are needed for converting an area of 1 square meter.the rate of the peeble is 5 per kilogram

I need to include files so you can understand easier.

Data array A has data series from 1,000,000 to 1 with step size 1, which is in perfect decreasing order. Data array B has data series from 1 to 1,000,000, which is in random order.

Aim: To implement a program to swap two numbers using reference arguments. Code: void swap(int *a, int *b) {             int temp;             temp=*a;

The for Loop For loop is the controlled form of loop. The general format of this : for( initialize ; test ; update)                  {                     statements;


Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.