Accenture Interview Question

Explain the difference between OOP concepts like inheritance and polymorphism.

Interview Answer

Anonymous

Feb 28, 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.