0

Why is multiple inheritances not supported in Java ?

Describe it

25th May 2017, 7:10 PM
Saurabh Sharma
Saurabh Sharma - avatar
2 Answers
+ 3
Because interfaces specify only what the class is doing, not how it is doing it. The problem with multiple inheritance is that two classes may define different ways of doing the same thing, and the subclass can't choose which one to pick.
25th May 2017, 7:24 PM
Eremie Gillowei
Eremie Gillowei - avatar
0
Starting from Java 7 it basically is.
25th May 2017, 7:41 PM
1of3
1of3 - avatar