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.

break

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

...

Access this course and 1400+ top-rated courses and projects.