nerdexam
Oracle

1Z0-805 · Question #40

1Z0-805 Question #40: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-805 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.

Question

Given three resource bundles with these values set for menu1: ( The default resource bundle is written in US English.) English US resource Bundle Menu1 = small French resource Bundle Menu1 = petit Chinese Resource Bundle Menu = 1 And given the code fragment: Locale.setDefault (new Locale("es", "ES")); // Set default to Spanish and Spain loc1 = Locale.getDefault(); ResourceBundle messages = ResourceBundle.getBundle ("messageBundle", loc1); System.out.println (messages.getString("menu1")); What is the result?

Options

  • ANo message is printed
  • Bpetit
  • C:
  • DSmall
  • EA runtime error is produced

Unlock 1Z0-805 to see the answer

You've previewed enough free 1Z0-805 questions. Unlock 1Z0-805 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.

Full 1Z0-805 Practice