Question d’entretien chez Revature

What is the difference between abstraction and interface?

Réponse à la question d'entretien

Utilisateur anonyme

19 mars 2019

interfaces use abstraction, but they are different from abstract classes in that they can both extend other classes and implements interfaces, whereas interfaces cannot extend classes. Also, abstract classes can have members both public, private, protected etc...., interface members are all public by default.

1