循环结构
跳出外层循环:打标签
例:
outer: for(int i=0;i<5;i++)
{
inner: for(int j=0;j<3;j++)
{
if(i==j)break outer;
}
}
2025-07-24