I have a Dummy class that has a private method called sayHello. I want to call sayHello from outside Dummy. I think it sh
Dummy
sayHello
method = object.getClass().getDeclaredMethod(methodName); method.setAccessible(true); method.invoke(object);