Pergunta de entrevista da empresa NSF

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

Resposta da entrevista

Sigiloso

13 de jun. de 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.)