回答編集履歴

1

new Account() のコンストラクタ引数を書き換え

2020/03/08 16:47

投稿

Mirko_Mug_Cup
Mirko_Mug_Cup

スコア53

test CHANGED
@@ -180,7 +180,7 @@
180
180
 
181
181
  ```Java
182
182
 
183
- List<Account> list = Arrays.asList(new Account("a1", 3), new Account("a2", 1), new Account("a3", 2));
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