Explain Annotations ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Explain Annotations ?
Anonymous
Ans. Annotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate. Annotations have a number of uses, among them:
• Information for the compiler — Annotations can be used by the compiler to detect errors or suppress warnings.
• Compile-time and deployment-time processing — Software tools can process annotation information to generate code, XML files, and so forth.
• Runtime processing — Some annotations are available to be examined at runtime.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   annotations      basic        frequent


Related Questions

  What are concepts introduced with Java 5 ?
  Which annotations are used in Hibernate ?
  Give an Example of Annotations ?
  What are meta Annotations ?
  How to create a Junit to make sure that the tested method throws an exception ?
  What is the use of @GeneratedValue annotation in Hibernate?
  What are few of the Annotations pre defined by Java?
  Name few meta-annotations ?
  What entries we make in the hibernate config file if we are not using hbm files but Annotations ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: