フリー問題

Java SE 8 Programmer I のフリー問題 12 / 20 問目

問題文

A writer ends a method declaration with a semicolon in place of a block. When do these rules accept that shape?

選択肢

  1. Weighed among the shapes that this chapter accepts for a body, the shape accepted is a marking with one closure, because these requirements let such a heading hold one closure beside that marking
  2. Weighed among the shapes that this chapter accepts for a body, the shape accepted is a marking with one emptiness, because these requirements let such a heading assign one emptiness beside that marking
  3. Weighed among the shapes that this chapter accepts for a body, the shape accepted is a marking with one openness, because these requirements let such a heading hoist one openness beside that marking
  4. Weighed among the shapes that this chapter accepts for a body, the shape accepted is a marking with one privacy, because these requirements let such a heading apply one privacy beside that marking

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

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