Pregunta de entrevista de Capgemini

What are the main differences between an abstract class and an interface in Java?

Respuesta de la entrevista

Anónimo

24 oct 2025

I explained that abstract classes can have both abstract and concrete methods, while interfaces can only have abstract methods (before Java 8). I also mentioned that a class can implement multiple interfaces but only extend one abstract class.