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

1 Expert Approved Answer
Step: 1 Unlock

The correct statements about the Override annotation in Java are A It can be optionally specified wh... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!