Why multiple inheritance is not supported in java?

DWQA QuestionsCategory: QuestionsWhy multiple inheritance is not supported in java?
Editor Staff asked 3 weeks ago

Why multiple inheritance is not supported in java?

1 Answers
Editor Staff answered 3 weeks ago

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 a deadly diamond problem.