フリー問題

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

問題文

What does calling shutdown on an executor do with tasks that were already queued?

選択肢

  1. The executor stops accepting fresh work and still terminates the pending entries, whereas the abrupt variant immediately abandons them instead.
  2. The executor stops accepting fresh work and still terminates the pending entries, whereas the abrupt variant immediately queues them instead.
  3. The executor stops accepting fresh work and still drains the pending entries, whereas the abrupt variant immediately abandons them instead.
  4. The executor stops accepting fresh work and still drains the pending entries, whereas the abrupt variant immediately queues them instead.

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

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