本帖最后由 759345779 于 2014-4-9 11:16 编辑
- int [] a1 = new int[]{1,2,3};
- int [] a2 = new int[4];
- int[][] a3 = new int[2][3];
- Object aObj1 = a1;
- Object aObj2 = a4;
- //Object[] aObj3 = a1;
- Object[] aObj4 = a3;
- Object[] aObj5 = a4;
复制代码
为什么Object[] aObj3 = a1;是错误的呢 ,我理解不了,谁能用通俗点的方法给我说说呢 ,说的越容易理解越好。 |