What is meant by annotations in java?



What is meant by annotations in java?..

Answer / Pitamber Arya

"Annotations in Java are a mechanism to add metadata (data about data) to the source code without changing its functionality. They allow programmers to associate additional information with various programming constructs such as classes, methods, fields, and packages. Annotations are defined by the @ symbol followed by the annotation name.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

What is flatmap java?

1 Answers  


What is a java singleton?

1 Answers  


What is cdi in java?

1 Answers  


How do I create an executable jar file?

1 Answers  


Who developed JavaScript, and what was the first name of JavaScript?

1 Answers  


What is dto in java?

1 Answers  


What is a pojo class in java?

1 Answers  


What is the point of lambda expressions?

1 Answers  


What is exe file in java?

1 Answers  


What is jdk for netbeans ide?

1 Answers  


Is jprofiler open source?

1 Answers  


Is jdk a compiler?

1 Answers  


Categories