for双层循环的一种使用方法:Java新用法
package com.corpus;
public class TestLabel {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
nextStep: for(int i = 0; i < 10; i++)
{
int k = 3;
for(int j = 0; j < 5; j++)
{
if(j == k)
{
continue nextStep;
}
}
i = i+2;
}
}
}声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇: tensorflow中next_batch
- 下一篇:没有了
