Q. What is method overriding?
β
Correct Answer: (C)
Providing a new definition for a method in a derived class
Explanation: Method overriding allows a subclass to provide a specific implementation of a method already defined in its parent class.