Class c = Class.forName(str);
Object o = c.newInstance();
Method[] methods = c.getMethods();
for(Method method: methods) {
//System.out.println(method.getName());
if(method.getName().equals("mm")) {
method.invoke(o);
}
Class c = Class.forName(str);
Object o = c.newInstance();
Method[] methods = c.getMethods();
for(Method method: methods) {
//System.out.println(method.getName());
if(method.getName().equals("mm")) {
method.invoke(o);
}