フリー問題

Java Foundations のフリー問題 14 / 20 問目

問題文

A program walks over an int array with the enhanced for statement and assigns a new value to the loop variable inside the body. What does the array hold afterwards?

選択肢

  1. The array automatically keeps the rewritten contents after the loop finishes.
  2. The array automatically keeps the doubled values after the loop finishes.
  3. The array automatically keeps the unchanged entries after the loop finishes.
  4. The array automatically keeps the deleted elements after the loop finishes.

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

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