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

Why doesn't Java support Multiple inheritance?

14th Apr 2017, 12:09 PM
Aman Gupta
Aman Gupta - avatar
2 Answers
+ 5
Java likely doesn't support it because of the 'Diamond Problem'.
14th Apr 2017, 3:04 PM
Rrestoring faith
Rrestoring faith - avatar
0
simply design choice. one of the creators once said that (apart from interfaces) he would have ditched even single inheritance
14th Apr 2017, 12:25 PM
Petja Boigk
Petja Boigk - avatar