Vidyalelo
Java Programming · Q13

Constructors and Methods

Programming · Java Programming · question 13

Q13

What is method overriding in Java?

A.
Defining a new method with the same name in a subclass
Answer
B.
Hiding a method in the superclass
C.
Redefining a method in the superclass
D.
Defining multiple methods in the same class

Answer: Option A

Solution

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