Computer Science, asked by dessuabewa, 11 months ago

why is java not use mutiple inheretance

Answers

Answered by Soumok
25
Multiple inheritance is not supported because it leads to deadly diamond problem. ... An interface is a contract of things your class has to implement.

but
Java supports multiple inheritancethrough interfaces only. A class can implement any number of interfaces but can extend only one class. 
Hpe it helps✔☺
#Be BRAINLY✔✔✔✔✔✔
AND MARK ME AS BRAINLIEST.
FOLLOW ME TO GET MORE HELP✔
⛝⛝⛝⛝⛝⛝⛝
Similar questions