- Java defines seven built-in annotations.
- Four are imported from java.lang.annotation: @Retention, @Documented, @Target, and @Inherited.
- Three, @Override, @Deprecated, and @SuppressWarnings, are included in java.lang.
@Override
@Deprecated
@SuppressWarnings
@Retention
@Documented
@Target
@Inherited
No comments:
Post a Comment