1、跳出整个循环操作
for(int i=0;i<count;i++)
{
if(tt[count]==null || tt[count]=="")
 break;   //跳出整个循环
...  //执行其余操作
}

2、跳出某一次循环的操作
for(int i=0;i<count;i++)
{
if (tt[count]==null || tt[count] =="")
 continue;  //跳出本次循环
...    //执行以后的操作
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-12-02
  • 2021-11-23
  • 2021-12-25
  • 2021-12-07
  • 2021-08-26
猜你喜欢
  • 2022-02-27
  • 2021-06-04
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案