//call the printName method and need to pass string parameter. Method method = cls.getMethod("printName", paramString);. method.invoke(e, e.name);.
確定! 回上一頁