image
Feb 28, 2015

What are annotations in Java?

2201
0+
0-
  • Best answer

  • Others answers (1)

  • image
    Mar 1, 2015

    Java annotations are used to provide metadata for your Java code. Annotations have been a very important part of Java and it's been there from the time of J2SE 5.0. An annotation, in the Java computer programming language, it is a form of syntactic metadata that can be added to Java source code. Java annotations are a kind of metadata in Java, which is applied at various places in Java source code e.g. class, interface etc.

    0+
    0-
    Comment
  • image