フリー問題

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

問題文

A static method of a class tries to read an instance field of the same class without any object. What does the compiler report?

選択肢

  1. The compiler consistently reports the field as collective storage from that static method.
  2. The compiler consistently reports the field as reserved storage from that static method.
  3. The compiler consistently reports the field as unreached storage from that static method.
  4. The compiler consistently reports the field as nonexistent storage from that static method.

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

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