+ 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?

6th Mar 2018, 1:42 PM
Wasim Abbasi
Wasim Abbasi - avatar
1 Answer
+ 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
6th Mar 2018, 1:53 PM
gnaneswari kolathuru
gnaneswari kolathuru - avatar