import java.lang.reflectClass c = Class.forName(className);
Method m = c.getMethod(methodName,String);
Object[] os = new Object[]{abcd};
m.invoke(c, os);
Method m = c.getMethod(methodName,String);
Object[] os = new Object[]{abcd};
m.invoke(c, os);
import java.lang.reflectClass c = Class.forName(className);
// Father is the father of c
Father kind = (Father)c.newInstance();
Method m = c.getMethod(methodName,String);
Object[] os = new Object[]{abcd};
m.invoke(kind, os);试一下,应该没问题~~