wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "About Annotations" Watch "About Annotations" New topic
Author

About Annotations

Joy Vergis
Ranch Hand

Joined: Sep 14, 2009
Posts: 45
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
Bartender

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
Sheriff

Joined: Oct 13, 2005
Posts: 38036
    
  22
John Jai wrote: . . . @override where you tell the compiler . . . method overrides its super class' method respectively. . . .
Not @override, but @Override.
 
 
subject: About Annotations
 
Similar Threads
Getting Undesired Characters in My Strings
Metadata
help on annotations .
Calling a Stored Procedures for Hibernate
meta refresh tag is not working