Overview
1.break
2.while
3.for
4.continue
5.return
1. break
1.Function
Break out of the current loop.
2. The use of break in multiple loops: used with labels
Two, while
3. for
1.for( ; ; )、for( ; i<10 ; )
4. continue
1.Function
Used to end this cycle and start the next cycle
2.continue In a multi-level nested loop, like break, you need to use labels to specify which level to jump out of.
5. return
1.Function
Return is used in methods to indicate jumping out of the method. If used in the main function, it means exiting the program.