break,continue和goto whiledo while for break,continue和goto break 是强制跳出循环 continue用于循环中, 退出当前循环 goto,java中没有goto,但可以增加标签之后用break,continue来实现goto