回答編集履歴

1

誤記修正

2017/06/21 13:56

投稿

mattn
mattn

スコア5030

test CHANGED
@@ -80,9 +80,11 @@
80
80
 
81
81
  System.out.println(c.getA()); // 0 になります
82
82
 
83
- b.setA(2);
83
+ c.setA(2);
84
84
 
85
85
  System.out.println(b.getA()); // 1 になります
86
+
87
+ System.out.println(c.getA()); // 2 になります
86
88
 
87
89
  }
88
90