通过反射执行某类的方法 LotteryManager lm=new LotteryManager();Method method=LotteryManager.class.getMethod(methodName,String.class);method.invoke(lm,"Jhone");
?