フリー問題

Java SE 8 Programmer II のフリー問題 13 / 20 問目

問題文

An assertion is written in the form that carries an added expression after a colon. Which requirement does the compiler place on the two expressions there?

選択肢

  1. The compiler requires a truth for a first one and something other than void for a later one and a file breaking either requirement is turned away.
  2. The compiler requires a name that a message can be read from and a file breaking either requirement is turned away.
  3. The compiler requires a matching kind on both of them and a file breaking either requirement is turned away.
  4. The compiler requires a value free of side effects and a file breaking either requirement is turned away.

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

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