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. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
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 ? | ||||
What is the use of @GeneratedValue annotation in Hibernate? | ||||
Give an Example of Annotations ? | ||||
What are few of the Annotations pre defined by Java? | ||||
What are meta Annotations ? | ||||
Name few meta-annotations ? | ||||
How to create a Junit to make sure that the tested method throws an exception ? | ||||
What entries we make in the hibernate config file if we are not using hbm files but Annotations ? | ||||