Vinay Kumar

Custom Annotations In Java

In JAVA it is possible to create user defined annotations.

Custom annotations are declared using the @interface tag. Annotations can have annotations. A custom annotations will have the bare minimum annotations @Target, @Retention annotations.