diff options
author | Hex <90081687+hexhaa@users.noreply.github.com> | 2023-04-20 21:19:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 21:19:33 +0800 |
commit | eeb6c05ebbea620b30ec926f053ae5cace1070fe (patch) | |
tree | 5b969ddabae246e047f68ac732eca49c7cfb0767 /zh-cn | |
parent | b314e0076a0ba0e410eb42bdad5c61c7114dff5b (diff) |
Fix comment for loop 99 → 100 (#4649)
Co-authored-by: yuyf <yuyanfei@cmict.chinamobile.con>
Diffstat (limited to 'zh-cn')
-rw-r--r-- | zh-cn/java-cn.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/java-cn.html.markdown b/zh-cn/java-cn.html.markdown index 1de7f3e6..53a423a8 100644 --- a/zh-cn/java-cn.html.markdown +++ b/zh-cn/java-cn.html.markdown @@ -190,7 +190,7 @@ public class LearnJava { { //System.out.println(fooWhile); //增加计数器 - //遍历99次, fooWhile 0->99 + //遍历100次, fooWhile 0->99 fooWhile++; } System.out.println("fooWhile Value: " + fooWhile); @@ -201,7 +201,7 @@ public class LearnJava { { //System.out.println(fooDoWhile); //增加计数器 - //遍历99次, fooDoWhile 0->99 + //遍历100次, fooDoWhile 0->99 fooDoWhile++; }while(fooDoWhile < 100); System.out.println("fooDoWhile Value: " + fooDoWhile); |