Name two jump statements and their use

Question :

Name two jump statements and their use

Jump statements in Java:

break- The break statement causes an immediate exit from the do-while, for, switch or while statement in which it appears.

continue- The continue statement is used with the loop instructions do-while, for, and while. It transfers control to the place in the program where the next iteration of the loop in which it appears, begins.


Similar Questions


Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad