摘要: package com.hai.week2; public class Demo01 { public static void main(String[] args) { //打印一个5行的三角形 for (int i = 1; i <= 5; i++) { for (int j = 5; j >= 阅读全文
posted @ 2022-06-03 17:39 花千泪雨 阅读(9) 评论(0) 推荐(0)
摘要: break与continue 示例break package com.hai.week2;​public class DemoBreak { public static void main(String[] args) { int i=0; while (i<100){ if(i==30){ bre 阅读全文
posted @ 2022-06-03 17:04 花千泪雨 阅读(27) 评论(0) 推荐(0)