Question: Which annotation can be applied to an existing annotation X and ensures a class that uses X shows the annotation in its generated Javadoc? A.

Which annotation can be applied to an existing annotation X and ensures a class that uses X shows the annotation in its generated Javadoc?

A. @Documented

B. @Generated

C. @JavaDoc

D. @PreserveAnnotations

E. @Retention

F. None of the above

Step by Step Solution

3.45 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The correct answer is A Documented The Documented annotation in Java is a marker annotation which in... 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!