Can anyone explain in a clear way the practical differences between the java.lang.annotation.RetentionPolicy constants SOURCE, CLASS, and RUNTIME?
I’m also not exactly sure what the phrase “retaining annotation” means.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Source:
The old URL is dead now
hunter_metaand replaced with hunter-meta-2-098036. In case even this goes down, I am uploading the image of the page.Image (Right Click and Select ‘Open Image in New Tab/Window’)
