CodeGym /Courses /Java Collections /Tasks | Level 8 | Lesson 8

Tasks | Level 8 | Lesson 8

Java Collections
Level 8 , Lesson 8
Available
10
Task
Java Collections, level 8, lesson 8
Locked
Predefined annotation types
In this class, wherever you can, add all of the possible predefined annotations. There shouldn't be anything redundant.
10
Task
Java Collections, level 8, lesson 8
Locked
Incorrect annotations
Fix the incorrect annotations. The code must compile without errors or warnings. Avoid redundancy. Don't just write out all of the annotations you know one after another.
Comments (3)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Andrei Level 41
27 July 2021
Very nice, although incorrect annotations could have used more explanations.
Lisa Level 41
1 February 2022
yep, and even the first task is somewhat unclear. Why @SafeVarargs when it is about a reifiable type?
Coboliste Level 46, Casablanca, Morocco
25 March 2023
It's because "String... arguments" is a parameter of variable length