Control flow exception break continue return throw

break End the loop prematurely
continue Jump to the next step of the loop
return Exit the current method
throw Point out the exception that must be caught by the exception handler

Guess you like

Origin blog.csdn.net/qq_44977477/article/details/108599362