Pregunta de entrevista de NSF

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

Respuesta de la entrevista

Anónimo

13 jun 2015

For an abstract class, you can define methods that can be used by the extending class. For an interface, all you define is the methods that must be implemented. (I actually had to create an abstract class after the interview, which was funny.)