This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About Annotations

 
Joy Vergis
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48452
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Jai wrote: . . . @override where you tell the compiler . . . method overrides its super class' method respectively. . . .
Not @override, but @Override.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic