int[] a1 = new int[3];
int[] a2 = new int[4];
int[][] a3 = new int[2][3];
String[] a4 = new String[3];
Object obj1 = a1;
Object obj2 = a2;
Object[] obj3 = a1;//为什么这句话是错的?
Object[] obj4 = a3;
Object[] obj5 = a4;
看张老师的视频的时候看到这个,有点明白又有点不太明白,为什么Object[] obj3 = a1;是错的呢? |