Results 1 to 4 of 4
  1. #1
    itaipee is offline Member
    Join Date
    Dec 2008
    Posts
    99
    Rep Power
    0

    Default what is the meaning of "@" in java

    I saw in code I'm using the marke @

    is it liek comment or its have special meaning?

    Java Code:
    	@Override
    protected  void  setConf(String cmdLine) {
    ..

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    They are called annotations. Please have a look here: Annotations Tutorial

  3. #3
    itaipee is offline Member
    Join Date
    Dec 2008
    Posts
    99
    Rep Power
    0

    Default

    thanks Fubarable

  4. #4
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

    Default

    @ could als indicate a Javadoc tag. For example:

    @author name
    @version version
    @since JDK-Version
    @see reference
    @param name description
    @return description
    @exception classname description
    @deprecated description

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 04:03 AM
  2. Replies: 0
    Last Post: 04-02-2009, 08:02 PM
  3. Replies: 10
    Last Post: 01-29-2009, 09:00 AM
  4. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •