Examveda
Examveda

What is the purpose of method overriding in Java?

A. Creating static methods

B. Hiding superclass methods

C. Redefining a superclass method in a subclass to provide a specific implementation

D. Defining a new method with the same name in a subclass

Answer: Option C


This Question Belongs to Java Program >> Overriding And Overloading

Join The Discussion

Related Questions on Overriding and Overloading