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.

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *