Vidyalelo
Java Programming · Q15

Overriding and Overloading

Programming · Java Programming · question 15

Q15

What is the purpose of the "@Override" annotation in Java?

A.
To make a method static
B.
To create a new method
C.
To indicate that a method is intended to override a superclass method
Answer
D.
To declare a variable

Answer: Option C

Solution

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