百万萝莉过大江

导航

二维数组

int[][]arr;

arr=new int[5][6];//定义二维数组

int [][]grade=new int [5][6]//直接定义

for each循环;不使用下表就能访问;

int=[]mum={12345}

for(int a :m){

System.out.print(a)}  //num数组  a 12345;

 

posted on 2016-04-14 22:57  百万萝莉过大江  阅读(126)  评论(0编辑  收藏  举报