EMIS Group interview question

What's the difference between an abstract class and an interface?

Interview Answer

Anonymous

28 Aug 2024

1) Interface members cannot have definitions. However non-abstract methods have definitions inside the abstract class. 2) Interface cannot have fields. Abstract classes have fields. 3)Interface inherits from other interface only. But abstract class or interface. 4) The interface inherits from multiple interfaces at a time. its not possible in abstract class.