Domanda di colloquio di Indus Valley Partners

Difference between abstract class and interface.

Risposta di colloquio

Anonimo

26 ago 2019

Abstract is the Single Inheritance - Interface having multiple inheritance, Abstract start with Abstract Keyword - Interface start with Interface keyword, Abstract class inheritance keyword is extends - Interface class inheritance keyword is Implicit. Abstract variable are final,non final, static and non static but interface having final and static variables only.