Javanotes 7.0, Section 3.3 -- The while and do..while Statements
3.3.3 break and continue The syntax of the while and do..while loops allows you to test the continuation condition at either the beginning of a loop or at the end. Sometimes, it is more natural to have the test in the middle of the loop, or to have severa...