Pergunta de entrevista da empresa Amdocs

Difference between Interface and Abstract class

Resposta da entrevista

Sigiloso

10 de fev. 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.