summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--zh-cn/java-cn.html.markdown4
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);