Java Quiz
10 questions · no time limit
0:00
FUNCTIONS AND PROGRAM STRUCTURE
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
`public static <T> T first(List<T> items) {
if (items.isEmpty()) {
throw new IllegalArgumentException("empty list");
}
return items.get(0);
}`
Which Javadoc tag section correctly documents both the type parameter and the ordinary parameter?
YOUR PROGRESS
10
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end