mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update comment in Java doWhile loop
This commit is contained in:
parent
ef1ccd2b0f
commit
05872fc631
@ -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