フリー問題

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

問題文

A comparison object hands over the difference of two whole numbers in place of a branching test. Why does the tutorial caution its readers about that shortcut?

選択肢

  1. The tutorial prints a warning to its readers because that shortcut invites a slowdown that costs its wider responsiveness for a comparison of that kind.
  2. The tutorial prints a warning to its readers because that shortcut invites a rounding that dulls its sorted accuracy for a comparison of that kind.
  3. The tutorial prints a warning to its readers because that shortcut invites an overflow that breaks its promised transitivity for a comparison of that kind.
  4. The tutorial prints a warning to its readers because that shortcut invites an exception that hides its quieter mismatch for a comparison of that kind.

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

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