Domanda di colloquio di Amdocs

Difference between Interface and Abstract class

Risposta di colloquio

Anonimo

10 feb 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.