方法1:使用break+标签(Label)Java允许为循环语句添加标签(Label),然后通过break+标签直接跳出指定的循环,示例代码publicclassBreakNestedLoop{publicstat...