Cmparing string elements stored in ArrayList
<p>I have a string arraylist
ArrayList data = new ArrayList();</p>

<p>and I have stored string values inside. Now i want to do something like</p>

<p>data.get(0) == "a" (need to compare)</p>

<p>How can I do? please help out.</p>
