Java Annotations

asked in Java Annotations by

1 Answer

Java Annotation is a tag that represents the metadata i.e. attached with class, interface, methods or fields to indicate some additional information which can be used by java compiler and JVM.

Annotations in java are used to provide additional information, so it is an alternative option for XML and java marker interfaces

answered by

Java Interview Questions and Answers 2018

...