Vidyalelo
Java Programming · Q3

Overriding and Overloading

Programming · Java Programming · question 3

Q3

In method overriding, which keyword is used in the child class to indicate that a method is intended to override a superclass method?

A.
@OverrideMethod
B.
@OverrideSuper
C.
@Override
Answer
D.
@OverrideParent

Answer: Option C

Solution

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