What is the purpose of annotations in Java? I have this fuzzy idea of them as somewhere in between a comment and actual code. Do they affect the program at run time?
When do you use Java's @Override annotation and why?
The link refers to a question on when one should use the override annotation(@override)..
This might help understand the concept of annotation better.Check out.