原文:Exception in thread "main" java.lang.InstantiationException at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)

在看反射機制時 設計了一個小demo 然后報錯了 新寫的demo 為 public class ReflexTest public static void main String args throws Exception Class demo Class.forName com.zz.www.test.demo Method methodOne demo.getMethod findMe , S ...

2018-07-18 16:16 0 1086 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM