张孝祥 高新技术 第二十四集 数组与Object的更关系及反射类型 
int [] a1 = new int[3]; 
                int [] a2 = new int[4]; 
                int[][] a3 = new int[2][3]; 
                String [] a4 = new String[3]; 
                /** 
                 * 对象要得到字节码要用方法 
                 * Incompatible 不相容 矛盾 不能同时成立 
                 * operand 操作数运算数 
                 * capture 捕获 
                 */ 
                 
                System.out.println(a1.getClass() == a2.getClass()); 
                System.out.println(a1.getClass() == a4.getClass()); 
                System.out.println(a1.getClass() == a3.getClass()); 
 
红色字体直接报错误,不能运行。我看老师的直接能够运行。。结果是true true false  我用的MyEclipse blue Edition 
 
 
错误提示如下 
 
 
Exception in thread "main" java.lang.Error: Unresolved compilation problems:  
        Incompatible operand types Class<capture#8-of ? extends int[]> and Class<capture#9-of ? extends String[]> 
        Incompatible operand types Class<capture#10-of ? extends int[]> and Class<capture#11-of ? extends int[][]> 
 
        at cn.itcast.day1.ReflectTest.main(ReflectTest.java:287) 
 
求详细解释  
 
 
 
 
 
 |   
        
 
    
    
    
     
 
 |