explain the function of break and continue statement in Java
Answers
Answered by
2
Answer:
The break keyword is used to breaks(stopping) a loop execution, which may be a for loop, while loop, do while or for each loop. The continue keyword is used to skip the particular recursion only in a loop execution, which may be a for loop, while loop, do while or for each loop.
I hope you like it
Stay home and stay safe
Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii please mark me as brainlist
Answered by
0
Answer:
The break keyword is used to breaks(stopping) a loop execution, which may be a for loop, while loop, do while or for each loop. The continue keyword is used to skip the particular recursion only in a loop execution, which may be a for loop, while loop, do while or for each loop.
Similar questions