What are the things we have to follow while creating annotations?

Options
- methods must not have any parameters
- methods must not have any throws clauses
- method should return any one of primitive data types
- All the above


CORRECT ANSWER : All the above

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement