How do I access a object's method when the method's name is in a variable?
<p>Say I have a class object named test.</p>

<p>test has various methods, one of them is whatever() .</p>

<p>I have a variable named method = "whatever"</p>

<p>How can I access the method using the variable with test?</p>

<p>Thanks!</p>
