Java annotation: Difference between revisions

Content deleted Content added
Line 10:
 
==Syntax of annotation==
Declaring an annotation is a variation on tags that have been added to comment sections in the past.
 
Annotations take the form of an interface declaration with an @ preceding it and optionally marked with meta-annotations, as shown below: