Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-809 Topic 12 Question 73 Discussion

Actual exam question for Oracle's 1Z0-809 exam
Question #: 73
Topic #: 12
[All 1Z0-809 Questions]

Given the content:

and given the code fragment:

Which two code fragments, when inserted at line 1 independently, enable the code to print ''Wie geht's?''

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Corinne
2 months ago
Haha, I'm glad they're not asking us to create a Locale object from scratch. That would be a real tongue-twister!
upvoted 0 times
Mitzie
24 days ago
Yeah, option B and option D seem like the correct choices for this question.
upvoted 0 times
...
Mitzie
26 days ago
I think option B and option D would enable the code to print ''Wie geht's?''
upvoted 0 times
...
Mitzie
1 months ago
I know, creating a Locale object from scratch would be really tricky.
upvoted 0 times
...
...
Maia
2 months ago
I think B is the best option since it uses the Locale.Builder to create the locale in a more concise way.
upvoted 0 times
Jill
28 days ago
I'm not sure about option E, it seems a bit redundant to use getInstance with GERMAN and GERMANY.
upvoted 0 times
...
Jill
30 days ago
I think A could also work, as it directly creates a new Locale with the specified language and region.
upvoted 0 times
...
Jill
1 months ago
I agree, option B seems like the most efficient choice.
upvoted 0 times
...
...
Walker
2 months ago
That's a valid point, but I still think option B is better because it follows a more modern approach with the Locale.Builder.
upvoted 0 times
...
Maynard
2 months ago
I disagree, I believe option A is the correct choice as it directly creates a new Locale with the specified language and region.
upvoted 0 times
...
Walker
2 months ago
I think option B is correct because it uses the Locale.Builder to set both language and region.
upvoted 0 times
...
Muriel
3 months ago
The correct answers are B and D. Both of these code fragments create a German (de) locale with the region set to Germany (DE).
upvoted 0 times
Marci
2 months ago
D) currentlocale = new Locale();currentLocale.setLanguage (''de'');currentLocale.setRegion (''DE'');
upvoted 0 times
...
Marci
2 months ago
B) currentLocale = new Locale.Builder ().setLanguage (''de'').setRegion (''DE'').build();
upvoted 0 times
...
Lorrie
2 months ago
D) currentlocale = new Locale();currentLocale.setLanguage (''de'');currentLocale.setRegion (''DE'');
upvoted 0 times
...
Evangelina
2 months ago
C) currentLocale = Locale.GERMAN;
upvoted 0 times
...
Omer
2 months ago
B) currentLocale = new Locale.Builder ().setLanguage (''de'').setRegion (''DE'').build();
upvoted 0 times
...
Tenesha
2 months ago
A) currentLocale = new Locale (''de'', ''DE'');
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77