Pregunta de entrevista de Veson Nautical

difference between abstract class and interface

Respuesta de la entrevista

Anónimo

1 de mar de 2013

In short, an interface has only the name, parameters, and return types. An interface does not implement these in anyway. An abstract class can do everything an interface does and more, it can define what a method does. Interfaces do not consume the CPU as much as abstract classes because they are only the names for the members to be implemented while abstract classes may have some methods implemented.