+ 3
What are disadvantages of multiple inheritance, ? But We can also use virtual keyword to remove ambiguity?
is there any other disadvantage of it other than this ambiguity?
1 Réponse
+ 7
if we want to implement multiple inheritance then we should override the methods it is just used in run time polymoriphsm and it is opposite to the traditional rule
two parents does not give birth to one child
like this
two base class does not have the one derived class
in cpp we can acheive directly
in java we implement it through interfaces