Computer Science, asked by navleen34, 1 year ago

Why multiple inheritance is not supported by Java?

Answers

Answered by omegads04
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.

Similar questions