Java语言基础_图文.pptVIP

  • 2
  • 0
  • 约2.48万字
  • 约 92页
  • 2017-01-19 发布于浙江
  • 举报
* 带标号的break boolean t = true; first: { second: { third: { System.out.println(Before the break.); if (t) break second; System.out.println(This wont execute); } System.out.println(This wont execute); } System.out.println(This is after second block.); } * continue 语句 continue语句在while、for或do/while结构中执行时跳过该结构体的其余语句,进入下一轮循环。 continue [标号]; ①不带标号的continue 用于跳过当前的for、while或者do-while循环,即跳过循环体continue语句后面的语句,回到循环体的条件测试部分继续执行。 不带标号的contin

文档评论(0)

1亿VIP精品文档

相关文档