Java · Medium
Why does Java support single inheritance for classes but multiple inheritance for interfaces?
JavaOOPInterfaces
Answer preview
Classes carry state — (fields) — multiple inheritance of state creates ambiguity about which parent's field to use, leading to the diamond problem.…