怎么做?
1 回答
半枯
TA贡献101条经验 获得超45个赞
package daffodils; public class Number { public static void main(String[] args) { int[] arr={8,9,10,11,12}; for (int i = 0; i < arr.length; i++) { arr[i]+=2; } for (int i = 0; i < arr.length; i++) { System.out.println(arr[i]); } } }
添加回答
举报
0/150
提交
取消