Question: Fill in the blank with the value that allows the annotation to be accessible by the JVM in which it is executed? A. RetentionPolicy.CLASS B.
Fill in the blank with the value that allows the annotation to be accessible by the JVM in which it is executed?

A. RetentionPolicy.CLASS
B. RetentionPolicy.JRE
C. RetentionPolicy.RUNTIME
D. RetentionPolicy.SOURCE
E. RetentionPolicy.LIVE
F. None of the above.
import java.lang. annotation.*; @Retention ( public class Corn {}
Step by Step Solution
3.38 Rating (160 Votes )
There are 3 Steps involved in it
The correct answer to fill in the blank for the Retention annotation in Java is C RetentionPolicyRUN... View full answer
Get step-by-step solutions from verified subject matter experts
