I have a String that contains method names with arguments.I wanna execute all methods.How can I do that.Consider following input -
String s="second(first(\"string1\"))";
where first(String s)
and second(String s)
are two method in my class.
Note that when I change Strings s=second(first("string1"));
manually,its working fine, I'm looking for some dynamic approach to do same.
(If possible then without reflection).