mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Merge pull request #3719 from tvhong/patch-1
[Java/en] Minor typo fix in doWhile loop comment
This commit is contained in:
commit
fbdccef884
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user