| Author |
Is it possible to invoking a method by getting its name in string...
|
Pankaj Mittal
Ranch Hand
Joined: Jul 09, 2008
Posts: 32
|
|
|
I want to invoke a method whose name I've got in string.....
|
2008 SCJP(5.0) 88%
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
You can do this sort of thing via Reflection. Have a read though that link it should set you on your way.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Pankaj Mittal
Ranch Hand
Joined: Jul 09, 2008
Posts: 32
|
|
Thanks buddy !!
I found the solution...
|
 |
 |
|
|
subject: Is it possible to invoking a method by getting its name in string...
|
|
|