If I have two variables:
Object obj; String methodName = \"getName\";
Without knowing the class of obj, how can I call the met
obj
Object obj; Method method = obj.getClass().getMethod("methodName", null); method.invoke(obj, null);