| Author |
do...while() statement question
|
zheng li
Ranch Hand
Joined: Jun 16, 2009
Posts: 56
|
|
why while(w < 1) can be put directly after do?
what else can be put there?
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
This is how the program actually works
Remember, that while in a do-while is followed by a semicolon...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
zheng li
Ranch Hand
Joined: Jun 16, 2009
Posts: 56
|
|
|
thank you.
|
 |
 |
|
|
subject: do...while() statement question
|
|
|