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
Printable View
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
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.
It is no where written explicitly that a program in a loop cannot be annotated.....