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

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

className = com.xieth.jdkeight.domain.Student
methodName = eat
eat...
反射获取配置文件,执行方法案例

className=com.xieth.jdkeight.domain.Student
methodName=eat

className = com.xieth.jdkeight.domain.Student
methodName = eat
eat...