This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About Annotations  RSS feed

 
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: 54033
130
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!