Jump Statements

In this lesson jump statements such as break, continue, return and throw will be discussed in detail

We'll cover the following

A jump statement can be used to transfer program control using keywords such as break, continue, return, and throw.


A break statement is used to exit from a case in a switch statement and also used to exit from

  • for
  • foreach
  • while
  • do-while

loops that will switch the control to the statement immediately after the end of the loop.

Get hands-on with 1200+ tech skills courses.