增强型循环

int[] num={1,2,3,4,5,6};

for(int i:num){

sout(i);

}

posted @ 2019-10-21 23:42  牧阳人  阅读(115)  评论(0编辑  收藏  举报