Examveda
Examveda

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

D. To declare a variable

Answer: Option C


This Question Belongs to Java Program >> Overriding And Overloading

Join The Discussion

Related Questions on Overriding and Overloading