exam questions

Exam 1z0-829 All Questions

View all questions & answers for the 1z0-829 exam

Exam 1z0-829 topic 1 question 44 discussion

Actual exam question from Oracle's 1z0-829
Question #: 44
Topic #: 1
[All 1z0-829 Questions]

Given:
Captions.properties file:
user = UserName
Captions_en.properties file:
user = User name (EN)
Captions_US.properties file:
message = User name (US)
Captions_en_US.properties file:
message = User name (EN - US)
and the code fragment:

What is the result?

  • A. User name (EN - US)
  • B. The program throws a MissingResourceException.
  • C. UserName
  • D. User name (EN)
  • E. User name (US)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SrinivasJasti
2 weeks, 1 day ago
Selected Answer: D
Captions_en_US.properties will be matched when currentLocale was "en_US" since it is just "en" it matches Captions_en.properties ---> User name (EN)
upvoted 1 times
...
Samps
2 months, 3 weeks ago
Selected Answer: D
D is correct
upvoted 3 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago