Pregunta de entrevista de Amdocs

Difference between Interface and Abstract class

Respuesta de la entrevista

Anónimo

10 de feb de 2020

Interface is a contract between a class and interface to abide by the rules which is why it is mandatory for all the classes implementing the interface to override all the methods. Abstract classes are classes whose object can't be instantiated.