public static void main(String[] args) {
// 创建一维数组的几种方式
int[] arr1 = new int[3];
int[] arr2 = {1,2,3,4};
int[] arr3 = new int[] {1,2,3,4};
//创建二维数组的几种方式
int[][] arr4 = new int[3][];
int[][] arr5 = {{1,2,3},{4,5,6},{7,8,9}};
int[][] arr6 = new int[][]{{1,2,3},{4,5,6},{7,8,9}};
}