why java does not support multiple inheritance
Answers
Answered by
0
Java supports multiple inheritance through interfaces only.A class can implement any number of interfaces but can extend only one class. Multiple Inheritance is not supported because it leads to deadly diamond problem. Because an interface is just a contract.
Hope you like the answer..
Hope you like the answer..
Similar questions