What is the difference between an abstract class and an interface in Java?
An abstract class can have both abstract methods and concrete methods, whereas an interface can only have abstract methods unless it's a default method.
Impressive answer! You're clear about the core differences between an abstract class and an interface.
Now, can you explain what happens when a class implements multiple interfaces in Java? How does the compiler handle that scenario?