+1 vote
in JAVA by
Why multiple inheritance is not supported in java?

1 Answer

0 votes
by

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.

Related questions

+1 vote
asked Dec 7, 2020 in JAVA by SakshiSharma
0 votes
asked May 25, 2020 in JAVA by Robindeniel
...