summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorVy Hong <shiweistg@gmail.com>2019-10-22 08:35:34 -0700
committerGitHub <noreply@github.com>2019-10-22 08:35:34 -0700
commit05872fc6316d7c6d8cc821a7bb4a74b306d9ce5f (patch)
treec96b2b6a8a1ad74fb2c7ef3824a622c5e84a69c9 /java.html.markdown
parentef1ccd2b0f9ca450395b6391b1155c981cd4ad4d (diff)
Update comment in Java doWhile loop
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index ca0b04c2..aa8923ab 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -381,7 +381,7 @@ public class LearnJava {
do {
System.out.println(fooDoWhile);
// Increment the counter
- // Iterated 99 times, fooDoWhile 0->99
+ // Iterated 100 times, fooDoWhile 0->99
fooDoWhile++;
} while(fooDoWhile < 100);
System.out.println("fooDoWhile Value: " + fooDoWhile);