Multiple inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Multiple inheritance

why multiple inheritance is not allowed in java and allowed in c++? and what are the advantages of using multiple inheritance in c++?

2nd Mar 2017, 1:09 PM
Badr AKKI
Badr AKKI - avatar
1 Answer
0
Many say that you should not use them in CPP as well. Advantage - the same as normal inheritance, but it can make your code really messy and complex really fast.
15th Jun 2018, 5:51 AM
spotbot2k
spotbot2k - avatar