Help the world stop coronavirus! Stay home!

Prev Next

Java / Annotations

List few meta-annotations defined in Java SDK.

@Retention meta-annotation indicates how long the annotation to be retained or visible.

@Documented indicates that the annotated element be documented using the Javadoc tool since annotations are not included by Javadoc tool by default.

@Inherited specifies that an annotation types is automatically inherited. If an inherited meta-annotation exists on an annotation type declaration, when the user queries the annotation type on a class declaration that has no annotation for this type, then class's super class be automatically queried for this annotation type.

@Repeatable indicates that the marked annotation can be applied more than once on the same declaration.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions