Exception in thread "main" java.lang.NoSuchMethodException: com.dyq.homework.Student.setName()
at java.lang.Class.getMethod(Class.java:1786)
at com.dyq.homework.TestHomeWork.main(TestHomeWork.java
异常如下Exception in thread "main" java.lang.NoSuchMethodException: com.dyq.homework.Student.setName() at java.lang.Class.getMethod(Class.java:1786) at com.dyq.homework.TestHomeWork.main(TestHomeWork.java:69)Student类(写了主要部分) public void setName(String