Alarm.com interview question

Why does Java prevent multi-class inheritance? How would you achieve similar functionality?

Interview Answer

Anonymous

10 Oct 2017

Diamond Problem (if multiple parent classes override a method, it is ambiguous which version of the method would be inherited by the child). Use interfaces to separate "is-a" relationships from "behaves-like" agreements.