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
Join The Discussion