Merge pull request #3719 from tvhong/patch-1

[Java/en] Minor typo fix in doWhile loop comment
This commit is contained in:
Divay Prakash 2020-01-24 19:52:12 +05:30 committed by GitHub
commit fbdccef884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);