From f93ea70d700c4beebea50f705b4a1ad4eda5a609 Mon Sep 17 00:00:00 2001 From: xiaoleeza Date: Fri, 30 Aug 2019 10:34:30 +0800 Subject: [PATCH] =?UTF-8?q?a[I]=20=E6=94=B9=E4=B8=BA=20a[i]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/notes/20. 接口优于抽象类.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/notes/20. 接口优于抽象类.md b/docs/notes/20. 接口优于抽象类.md index daebfab..afb63f2 100644 --- a/docs/notes/20. 接口优于抽象类.md +++ b/docs/notes/20. 接口优于抽象类.md @@ -53,7 +53,7 @@ static List intArrayAsList(int[] a) { @Override public Integer set(int i, Integer val) { - int oldVal = a[I]; + int oldVal = a[i]; a[i] = val; // Auto-unboxing return oldVal; // Autoboxing }