Q18
What is the purpose of the "@Override" annotation in Java?
A.
To make a method static
B.
To create a new method
C.
To declare a variable
D.
To indicate that a method is intended to override a superclass method
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board