Calling method from arraylist
<p>Say I have an arraylist <code>performActions</code> with values "openURL" and "closeBrowser". Both these values (openURL and closeBrowsers) and methods are in a different class. </p>

<p>How do I call these methods by getting the value from <code>performActions</code> arraylist?</p>

<p>To be specific: If I do <code>performAction.get(0)</code> the "openURL" method should be executed.</p>
