C and D are correct because both of them provide a value to the name property which is the only required property for the @Resource annotation
AB and E result in compilation error because they do not give a value to the name property wich is a mandatory property unlike priority which has a default value
upvoted 4 times
...
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.
Aashish092087
6 months, 2 weeks agolenicoulibaly
1 year ago