Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

difference between break statement and a continue statement

Thu Nov 06, 2008 10:33 pm

What is the difference between a break statement and a continue statement?



Re: difference between break statement and a continue statement

Thu Nov 06, 2008 10:34 pm

A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.

Post a reply
  Related Posts  to : difference between break statement and a continue statement
 Using the continue Statement     -  
 difference between a while statement and a do statement     -  
 The do...while Statement     -  
 PHP if statement and else if     -  
 Using the for Statement     -  
 Need help with if statement     -  
 while Statement in php     -  
 JOptions and If - Else statement     -  
 For statement without all three statements     -  
 global statement in php     -