Accenture interview question

Explain the difference between OOP concepts like inheritance and polymorphism.

Interview Answer

Anonymous

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.