Oracle
1Z0-804 · Question #93
Which two code blocks correctly initialize a Locale variable?
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #93. The question stem and answer options stay visible for context.
Localization
Question
Which two code blocks correctly initialize a Locale variable?
Options
- ALocale loc1 = "UK";
- BLocale loc2 = Locale.getInstance("ru");
- CLocale loc3 = Locale.getLocaleFactory("RU");
- DLocale loc4 = Locale.UK;
- ELocale loc5 = new Locale("ru", "RU");
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Locale#Locale initialization#Locale.UK#locale constants