フリー問題

Java EE 7 Application Developer のフリー問題 4 / 20 問目

問題文

A team has to place one name that a single component reads and another name that the whole set of deployed applications shares. Which pair of the four logical namespaces fits?

選択肢

  1. The java:module namespace for the first name and the java:app namespace for the second, since a name leaves the component level as soon as a second archive reads it
  2. The java:comp namespace for the first name and the java:global namespace for the second, since the widest of the four logical namespaces carries names shared beyond one application
  3. The java:global namespace for the first name and the java:comp namespace for the second, since a portable name written by a developer starts at the outermost level
  4. The java:app namespace for the first name and the java:module namespace for the second, since the enclosing application is the narrowest unit a lookup can address

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

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