This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@Retention annotation

 
Gajendra Kangokar
Ranch Hand
Posts: 94
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of @Retention annotation or how it should be used
RetentionPolicy.RUNTIME
RetentionPolicy.SOURCE
RetentionPolicy.CLASS

when to use each type of retention.
can anyone please give an example

Thank You
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic