Question: Which statements about the @Override annotation are correct? (Choose three.) A. It can be optionally specified when a class implements an abstract interface method. B.
Which statements about the @Override annotation are correct? (Choose three.)
A. It can be optionally specified when a class implements an abstract interface method.
B. Adding it to a method may trigger a compiler error.
C. It is required whenever a class implements an abstract interface method.
D. It can be added to an interface declaration type.
E. It can be optionally specified when a method is overridden in a subclass.
F. It is required whenever a method is overridden in a subclass.
Step by Step Solution
3.48 Rating (158 Votes )
There are 3 Steps involved in it
The correct statements about the Override annotation in Java are A It can be optionally specified wh... View full answer
Get step-by-step solutions from verified subject matter experts
