Pregunta de entrevista de Salescode.ai

What is the difference between an abstract class and an interface in Java?

Respuesta de la entrevista

Anónimo

7 oct 2025

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.