フリー問題

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

問題文

Which pair decides between publishing an interface with default methods and an abstract base?

選択肢

  1. Choosing the interface admits joint supertypes, and the abstract alternative separately supplies stored fields for subclasses.
  2. Choosing the interface admits exclusive supertypes, and the abstract alternative separately supplies stored fields for subclasses.
  3. Choosing the interface admits exclusive supertypes, and the abstract alternative separately supplies immutable fields for subclasses.
  4. Choosing the interface admits joint supertypes, and the abstract alternative separately supplies immutable fields for subclasses.

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

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