for循环的三种写法

一、遍历循环java for (循环变量类型 循环变量名称;循环条件;更新语句) 循环体 code String[] arr = { "a", "b", "c", "d" }; for (int i = 0; i < arr.length; i++) { System.out.println(arr[i]); } 打印台 a b c d 二
相关文章
相关标签/搜索