P

Priyanka Tomar • 35.28K Points
Coach

Q. 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
  • Correct Answer - Option(C)
  • Views: 117
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics