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.) 

import java.lang.annotation. *; _) // t1 @Repeatable ( @interface Gift { String

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

1 Expert Approved Answer
Step: 1 Unlock

The correct answers are B Presents on line t1 E Gift value on line t2 Th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!