The continue statement causes the current iteration of the innermost loop to cease and the next iteration of the same loop to start if the condition of the loop is met. In the case of using a continue statement with a for loop, you need to consider the effects that the continue has on the loop iterator
(the iteration expression will run immediately after the continue statement).
Example: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/branch.html
Continue Statement
Thursday, August 20, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment