You cannot use a null reference as a value for an element in an annotation.
No parentheses on the date
annotations cannot subclass one another, and an annotation is not allowed to extend/implement any interfaces
A. @interface Author { String name() default ""; String date(); } is a legal declaration of an annotation type. It defines an annotation type named Author with two elements: name and date. The name element has a default value of an empty string, while the date element has no default value.
This section is not available anymore. Please use the main Exam Page.1z0-819 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ASPushkin
10 months, 2 weeks ago[Removed]
1 year, 10 months agoStavok
1 year, 11 months agoRP384
2 years, 4 months ago