If I have two variables:
Object obj; String methodName = \"getName\";
Without knowing the class of obj, how can I call the met
obj
Method method = someVariable.class.getMethod(SomeClass); String status = (String) method.invoke(method);
SomeClass is the class and someVariable is a variable.
SomeClass
someVariable