G
Guest
Let's say I have the following class:
class ccTestClass
{
public void doMethod()
{
}
}
If I have the name of the method stored in some variable x, such that String
x = "doMethod", how can I use introspection to call doMethod() dynamically
from within the code.
Thanks.
Mansi
class ccTestClass
{
public void doMethod()
{
}
}
If I have the name of the method stored in some variable x, such that String
x = "doMethod", how can I use introspection to call doMethod() dynamically
from within the code.
Thanks.
Mansi