Question: Fill in the blanks with the lines of code that allow the program to compile. (Choose two.) A. Presents on line t1 B. @Presents on
Fill in the blanks with the lines of code that allow the program to compile. (Choose two.)

A. Presents on line t1
B. @Presents on line t1
C. Gift value() on line t2
D. Presents.class on line t1
E. Gift[] value() on line t2
F. Gift[] gift() on line t2.
import java.lang.annotation. *; _) // t1 @Repeatable ( @interface Gift { String value (); } @interface Presents { // t2 } @Gift ("Book") @Gift ("Toy") public class Surprise {}
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
The correct answers are B Presents on line t1 E Gift value on line t2 Th... View full answer
Get step-by-step solutions from verified subject matter experts
