java中任何一个类类是java.lang.Class的对象,Class c1 = 类.class || Class c2 = 类.GetClass() c1,c2表示了类的类类型(class type),|| Class c3 = Class.forName("类全名"),通过类类型可以创建该类的对象,c1.newIntence();需要有无参数的构造方法
                
                    
                    2017-06-04
                
            老师讲的getDeclaredMethod和getMethod的区别,是错的吧,正确的解释是
getMethod:只能获取类的public方法
getDeclaredMethod:能获取类的public、protected和private方法
                getMethod:只能获取类的public方法
getDeclaredMethod:能获取类的public、protected和private方法
                    
                    2017-06-04
                
             
             
        












