Interface:
interface A
{
void run(String methName);
}
Classs:
class X implements A
{
void run(String methName)
{
}
void m1()
{
}
void m2()
{
}
void m3()
{
}
}
I want to invoke m1, m2 and m3 methods by name dynamically from run method without using reflection mechanism