Class stuCls = Class.forName(""com.bwie.test.Student""); Object obj = stuCls.newInstance(); Method setMethod = stuCls.getMethod(""setName"",String.class); setMethoD、invoke(obj, ""张三"");关于代码说法不正确的是?
A.Student类位于com.bwie.test包下
B.Student类中有setName方法
C.setName方法返回值是String类型
D.通过反射调用了setName方法
正确答案是C