フリー問題

Java SE 25 Developer Professional のフリー問題 4 / 20 問目

問題文

Which requirement does the compiler place on a method that can throw a checked exception?

選択肢

  1. The compiler unconditionally demands explicit handling, and the same demand is absent for recoverable failures inside this method.
  2. The compiler unconditionally demands explicit documentation, and the same demand is absent for recoverable failures inside this method.
  3. The compiler unconditionally demands explicit handling, and the same demand is absent for runtime failures inside this method.
  4. The compiler unconditionally demands explicit documentation, and the same demand is absent for runtime failures inside this method.

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

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