Vidyalelo
Java Programming · Q5

Inheritence

Programming · Java Programming · question 5

Q5

What is method overriding in Java?

A.
Making a method static
B.
Hiding a superclass method
C.
Redefining a superclass method in a subclass to provide a specific implementation
Answer
D.
Creating a new method with the same name in a subclass

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board