What is the difference between an abstract class and an interface in Java?
Anónimo
I explained that both are used for abstraction, but an interface defines a contract without implementation, while an abstract class can include both abstract and concrete methods.