一维数组
System.out.println(Arrays.toString(a));
二维数组
System.out.println(Arrays.deepToString(a));


从键盘获取不同类型的变量,需要使用Scanner类