Pregunta de entrevista de Accenture

Explain the difference between OOP concepts like inheritance and polymorphism.

Respuesta de la entrevista

Anónimo

28 feb 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.