多项选择题
下列通过反射获取方法的语句,正确的有()。
A.c1.getMethods() B.c1.getMethod("name",Person.class) C.c1.getDeclaredMethods() D.c1.getDeclaredMethods(“fddf”)
多项选择题 下列通过反射获取类类型的语句,正确的有()。
多项选择题 使用Class类的哪些方法可以获取一个类的属性?()。
判断题 使用getDeclaredField()方法,可以通过反射获取到私有成员变量。