Problem Statement
What is method overriding in OOP?
Explanation
Method overriding occurs when a subclass provides its own implementation of a method defined in its superclass, using the same signature. This enables runtime polymorphism – the correct method executes based on the object’s actual type.