Menu
Topics Index
...
`


Control Statements > Jump Statements >
Siva Nookala - 12 Apr 2016
Java supports three jump statements: break, continue, and return. These statements transfer control to another part of your program.

These statements can be used inside loops, switch statements and in methods to move the next execution to some other expression. break can be used to exit a loop or to come out of the switch statement or to use as a form of goto. continue can be used inside a loop to skip the current iteration. return can be used to explicitly return from a method.

0
Wrong
Score more than 2 points

© meritcampus 2016 - 2017

All Rights Reserved.