Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 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++?
1 ответ
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.