Java Annotations
public class OverrideAnnotation { public static void main(String s[]) { OverrideExample e = new OverrideExample(); System.out.println(e.toString()); } } Annotations are kind of meta data which can be used in java classes. Typically methods, variables, classes and packages can be annotated. Annotations basically provides information to the java compilers. Annotations can able to used to generate XMLs. Try out the below ...