+ 1
Break command breaks which loop?
Suppose we write in while loop a function then simply use break then what break will do
6 odpowiedzi
+ 1
Kartarsingh Yadav There is no way to cancel a break statement, but I have a solution... it is much easier to explain with a sample.
+ 1
The point of this is to tell how to return to a loop, there are no strict magic portals back to a loop, but that could be performed with programmer defined functions.
https://code.sololearn.com/cF1bx2uE6LRC/?ref=app
0
Break command will make your program exit a current loop.
0
Thnx bro
but which command is there in java to re-enter in that loop again
0
You are welcome
0
Ok