+ 14
Why Java doesn’t support multiple inheritance?
Is it good reason " remove ambiguity ( like Diamond problem ) " ? Is'nt worth the trouble ?!
4 odpowiedzi
+ 4
yes it removes ambiguity, and also interfaces are design in such a way that they handle all the problems related to multiple inheritance without any ambiguity
+ 2
Java supports interfaces, which is usually more than enough.
+ 1
The main point to be discussed over here is Java does not support multiple inheritance or Java does support? There are lots of people who are still under confusion that it supports but actually it does not support using interface in Java. Even the father of Java has once admitted the fact. Why Java Doesn’t Support Multiple Inheritance see here:- http://crbtech.in/Java-Training/java-doesnt-support-multiple-inheritance/.
0
ok