Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Java annotation

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Java annotation

    What is not true about annotation?


    a) @deprecated is a marker annotation
    b) Annotations precede other modifiers
    c) Use of annotations avoid unnecessary use of marker interface
    d) A program loop can be annotated


  2. #2
    Member Fendaril's Avatar
    Join Date
    Nov 2008
    Posts
    54
    Thanks
    7
    Thanked 6 Times in 5 Posts

    Default Re: Can anyone ans this.........

    Hello abhishekraok2003 and welcome to the javaprogrammingforums.

    I have found a link that may be helpful to you. Read through it. If you have any problems post here.

    An Introduction to Java Annotations

    Based on research it would appear that "C" is the right answer.
    Last edited by Fendaril; May 16th, 2009 at 03:50 PM. Reason: Clarification

  3. The Following User Says Thank You to Fendaril For This Useful Post:

    abhishekraok2003 (May 17th, 2009)

  4. #3
    Junior Member
    Join Date
    May 2009
    Posts
    4
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: Can anyone ans this.........

    It is no where written explicitly that a program in a loop cannot be annotated.....