回答編集履歴
1
new Account() のコンストラクタ引数を書き換え
test
CHANGED
@@ -180,7 +180,7 @@
|
|
180
180
|
|
181
181
|
```Java
|
182
182
|
|
183
|
-
List<Account> list = Arrays.asList(new Account("
|
183
|
+
List<Account> list = Arrays.asList(new Account("First", 3), new Account("Second", 1), new Account("Third", 2));
|
184
184
|
|
185
185
|
Sorter.sort(list); // ← ソートメソッドの呼び出し
|
186
186
|
|