Why Java doesn’t support multiple inheritance? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

Why Java doesn’t support multiple inheritance?

Is it good reason " remove ambiguity ( like Diamond problem ) " ? Is'nt worth the trouble ?!

17th Jul 2017, 12:23 PM
Amir
Amir - avatar
4 Answers
+ 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
17th Jul 2017, 12:41 PM
Ashwaghosh Sadanshiv
Ashwaghosh Sadanshiv - avatar
+ 2
Java supports interfaces, which is usually more than enough.
17th Jul 2017, 12:31 PM
Alexi
+ 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/.
10th Nov 2017, 4:46 AM
mayur kohli
mayur kohli - avatar
0
ok
11th Oct 2017, 10:33 AM
ayman tech