Pergunta de entrevista da empresa Dominion Energy

Explain the distinction between abstraction and inheritance.

Resposta da entrevista

Sigiloso

16 de nov. de 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.