File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes About Annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "About Annotations" Watch "About Annotations" New topic

About Annotations

Joy Vergis
Ranch Hand

Joined: Sep 14, 2009
Posts: 48
I am a new bee to Java5 environemt. I am reading annotation.

I am unable to understand the meta tag s? it is written that "Annotations are the meta-tag that you will use in your code to give it some life".

What is a meta-tag? Please explain it?
John Jai

Joined: May 31, 2011
Posts: 1776
Meta-tag here might denote that annotation gives information about the code. General examples include @SuppressWarnings("the argument") and @override where you tell the compiler to suppress the warnings and denote a method overrides its super class' method respectively.

Since it tells the META information they are just probably referring it as META tags...
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46409
John Jai wrote: . . . @override where you tell the compiler . . . method overrides its super class' method respectively. . . .
Not @override, but @Override.
I agree. Here's the link:
subject: About Annotations
jQuery in Action, 3rd edition