The correct answers are A. @Resource({“Customer1”, “Customer2”}) and E. @Resource().
The @Resource annotation is defined to take an array of strings as its value. In option A, the annotation is applied with an array of two strings, which is a valid use of the annotation. In option E, the annotation is applied with an empty array, which is also a valid use of the annotation.
Option D is incorrect because the value of the annotation must be an array of strings, not a single string.
D is correct. Actually any of these are correct. Last 2 only when 'value' is the only required element.
@Resource(value={"String"})
@Resource(value="String")
@Resource({"String"})
@Resource("String")
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.
mendjijet
10 months, 3 weeks agod7bb0b2
11 months, 3 weeks agoOmnisumem
1 year, 3 months agoStavok
1 year, 5 months agod7bb0b2
11 months, 4 weeks ago[Removed]
1 year, 4 months agoStavok
1 year, 6 months agoMukes877
1 year, 7 months agoxuancat
1 year, 7 months ago