Continue Statement

The continue statement occurs only inside the iterator statements like while, do or for statements.

Continue Statement

--Ads--

Continue Statement

     

The continue statement occurs only inside the iterator statements like while, do or for statements. The continue statement skips the current iteration (for while or a do-while loop). A Continue statement with no label skips to the end of the innermost loop's body and evaluates the boolean expression to controls the loop. On the other hand a continue statement with a label identifier sends the control to the enclosing labeled statement. A continue statement statement must refer to the immediately enclosing method having the same label.


To know more about Continue Statement click on the link

http:/www.roseindia.net/java/beginners/Continue.shtml