利用反射建立對象

/* * 經過反射建立帶參數的對象 */ public Object Creatobject(String ClassPath, Object[] Params) throws Exception { Class<?> demo = null; Object obj = null; demo = Class.forName(ClassPath
相關文章
相關標籤/搜索