+ 1

Why we do not use multiple inheritance in java,C#??

8th Sep 2018, 6:13 PM
Rahul Bavannavar
Rahul Bavannavar - avatar
2 Answers
+ 1
https://www.quora.com/Why-don’t-C-and-NET-support-multiple-inheritance
8th Sep 2018, 6:18 PM
Hovo Shitikyan
Hovo Shitikyan - avatar
+ 1
if the both base classes contains same name methods or functions then both get inherit into derived class and on calling the function , compiler get confuse which function should be call. therefore we use instance in java to achieve multiple inheritance.
8th Sep 2018, 8:19 PM
shiwangee pathak
shiwangee pathak - avatar