What are annotations? Annotations are meta data in Java. What is meta data? A metadata is data about data. Metadata adds some additional flags on your actual data, and in runtime either you or JVM who understand these flags, can utilize this metadata information to make appropriate decisions based on context. How it looks like? Basic annotation is look like following. @ MyAnnotation It starts with @ sign followed by the Annotation name. Annotations are defined as following. @interface MyAnnotation { } I didn’t get it… Ok, Annotations do basically three things in Java. It provides…. Embed instructions to Java Compiler Embed instructions to Source Code Processing Tools such as IDEs Embed metadata which can be read at runtime by your Java Application or Third Party Tools Lets look at some simple example Below example shows how @Override annotation checks that the annotated method is overridden method. public class DemoClass { //some code @Override public Str...