I'm storing a full method in a String (actually reading it from a file as a String). Now I need to execute the method which is in the String. I mean, in the MainActivity I have to execute this method inside the String. Is there any possible way to do it?
Thanks in Advance.
The method which is stored in the String is:
public void showTheText()
{
System.out.println("Hi There...");
}