Say I have a class object named test.

test has various methods, one of them is whatever() .

I have a variable named method = "whatever"

How can I access the method using the variable with test?

Thanks!