?? arraytest1.java
字號:
//ArrayTest1.java
//This programe is about the use of the multi-dimentional array
public class ArrayTest1{
public static void main(String[] args){
int i,j;
int a[][]={{1,2, 3},{4, 5, 6}};
for( i=0; i<a.length; i++ )
for( j=0; j<a[i].length; j++ )
System.out.println("a["+i+"]["+j+"]="+a[i][j]);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -