int 是基本类型、Integer是类。 
所以int.class==Integer.class   flase\ 
而Integer.Type中包装了int的字节码 
所以int.class==Integer.Type  true; 
 
String.class    new String().getClass()     Class.forName("java.lang.String")有何区别? 
没什么不同,都是在虚拟机中加载String的字节码。 
但Class.forName()在反射中用的比较多(可以让参数成为一个变量) 
 |   
        
 
    
    
    
    
 
 
 |