Java annotations are used to provide the meta data to our Java code. Meta data is the additional information which can be used for any class, interface, method or field. Java annotations can be used as an alternative option for XML and java marker interfaces. Java annotations were added to Java from Java 5.
Java annotations.
Java annotations overview.
Built-in Java Annotations.
@Deprecated Java Annotation.
@Override Java Annotation.
@SuppressWarnings java annotation.
Java custom annotation.
No comments:
Post a Comment