摘要: 循环语句 while循环 //语法 while(布尔表达式){ //循环内容 } public static void main(String[] args) { int i=0; while (i<100){ i++; System.out.println(i); } } 只要布尔表达式为true 阅读全文
posted @ 2021-06-16 14:29 valder- 阅读(102) 评论(0) 推荐(0)