Question d’entretien chez Dominion Energy

Explain the distinction between abstraction and inheritance.

Réponse à la question d'entretien

Utilisateur anonyme

16 nov. 2022

Abstraction is an OOP concept that conceals implementation details from the user and only reveals the functionality. On the other hand, inheritance is the process of constructing a new class from the methods and properties of an existing one.