Pergunta de entrevista da empresa Accenture

Explain the difference between OOP concepts like inheritance and polymorphism.

Resposta da entrevista

Sigiloso

28 de fev. de 2026

I explained inheritance as the mechanism where one class acquires properties and methods of another class, and polymorphism as the ability of an object to take multiple forms, such as method overriding and overloading.