フリー問題

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

問題文

Two families of accessors remove the item at the front of a double ended queue. How does the family named after a poll behave once the queue has run dry?

選択肢

  1. That family hands back an exception naming its emptiness as the outcome of that call.
  2. That family hands back a copy of an earlier entry as the outcome of that call.
  3. That family hands back a null reference for its caller to test as the outcome of that call.
  4. That family hands back a stand in figure of zero as the outcome of that call.

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

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