+ 1

Why java can not support multiple inheritance????

5th Dec 2016, 6:08 AM
Axay Mondal
Axay Mondal - avatar
2 odpowiedzi
+ 1
The problem with multiple Inheritance is that two classes may define different ways to solve a same problem which can be ambiguous for subclasses to pick one specific way. Which could be one reason for not including this feature while writing Java.
5th Dec 2016, 7:14 AM
Sulav Depp
Sulav Depp - avatar
0
but you can implement multiple interfaces
14th Jan 2017, 7:07 AM
Kibrom
Kibrom - avatar