- 1

What are the different keywords used in each jump statements

Nee to

2nd Nov 2020, 4:45 AM
Rosebelt Baring
Rosebelt Baring - avatar
3 Antworten
+ 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.
2nd Nov 2020, 4:51 AM
Vishakha Shrivastav
Vishakha Shrivastav - avatar
+ 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.
2nd Nov 2020, 5:07 AM
Vishakha Shrivastav
Vishakha Shrivastav - avatar
0
Why
2nd Nov 2020, 4:52 AM
Rosebelt Baring
Rosebelt Baring - avatar