summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2020-01-24 19:52:12 +0530
committerGitHub <noreply@github.com>2020-01-24 19:52:12 +0530
commitfbdccef88430e238ff4d4a3d5faf5086b967384f (patch)
tree53c06666b3cfa30ac091abb90806ebe3b68f9e6e
parent1db3016a4db5f6f6bf4e9ea9a1b08ba379998fc0 (diff)
parent05872fc6316d7c6d8cc821a7bb4a74b306d9ce5f (diff)
Merge pull request #3719 from tvhong/patch-1
[Java/en] Minor typo fix in doWhile loop comment
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 4f45a268..79769352 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);