- 1
What are the different keywords used in each jump statements
Nee to
3 Answers
+ 2
We have the following three jump statements:
1. break
2. continue
3. return
If we want to go out of a loop then we use a break statement.
When we do not want to execute some statements then we use a continue statement to skip those statements to execute.
The return statement is used to end the execution of a specific method and then return a value.
+ 2
Jump statements are used to transfer execution of a program to some other part of the program. Jump statements allow you to exit a loop, start the next iteration of a loop, or explicitly transfer program control to a specified location in your program.
0
Why