Of course,in the cases where breaking out of a loop will also exit the method,you can simply use a return.

 
  • 当然,若想在中断循环的同时退出方法,简单地用一个return即可。
今日热词
目录 附录 查词历史