PrepZone Logo
PrepZone
Back to Java

Java · Medium

Explain multiple inheritance in Java and how Java resolves conflicts.

JavaOOPInterfaces

Answer preview

Java does not support multiple inheritance with classes — this avoids the diamond problem where ambiguity arises from two parent classes having the same method.…