Java for循环遍历数组

来源:互联网 发布:苹果电脑桌面软件设置 编辑:程序博客网 时间:2024/05/16 07:19
int[]a=new int[]{1,2,5,77};
for(int value:a){
 System.out.println(value);
}
原创粉丝点击