フリー問題

Java SE 21 Developer Professional のフリー問題 3 / 20 問目

問題文

A properties based bundle set has a base name. Which file name holds the entries that are used when no variant matches the requested locale at all?

選択肢

  1. The one whose name is exactly the base name with no language or country suffix, which acts as the last resort in the search.
  2. The one whose suffix names the language that the project was written in, and the search ends there once every more specific variant for the requested locale has been tried.
  3. There is no such file, and a request for an unmatched locale always fails with an exception that reports which key could not be resolved for the caller.
  4. The one whose suffix names the locale that the running platform reports, and the search ends by consulting the environment before it gives up on finding a bundle.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。