4- 反射获取配置文件,执行方法案例

反射获取配置文件,执行方法案例

  • pro.properties

mark

className=com.xieth.jdkeight.domain.Student
methodName=eat
  • 示例代码

mark

className = com.xieth.jdkeight.domain.Student
methodName = eat
eat...
原文地址:https://www.cnblogs.com/xietianhua/p/11342584.html