What are jump statements (Java) ?
Answers
Answered by
3
The statements that cause unconditional control-transfer in program are called jump statements. Two most common jump statements are break and continue.
Answered by
10
Jump statements cause an unconditional jump to another statement elsewhere in the code. They are used primarily to interrupt switch statements and loops. The jump statements are the goto statement, the continue statement, the break statement, and the return statement, which are discussed in the following sections.
Similar questions