⟩ Explain me why aren’t you allowed to extend more than one class in Java but are allowed to implement multiple interfaces?
Extending classes may cause ambiguity problems. On the other hand, in terms of interfaces, the single method implementation in one class can serve more than one interfaces.