Annotations help to color the code, enable great expressive power and are elegant and granular
BANGALORE, INDIA: Spark IT 2010 opened a window of knowledge to Java Annotation. Taking a session named Learning to create and use Java Annotations, Dr. Venkat Subramaniam, founder, Agile Developer Inc. explained that Annotations enhance ability to extend the capability of a language without being part of the community.
Annotations help to color the code, enable great expressive power and are elegant and granular. Annotations are used like modifiers. They are convenient to be placed in various places and can add values.
Subramaniam said that Java has few Annotations built in such as deprecate, Override, Suppress Warnings and recommended the usage of Override Annotation while using Java.