How to declare arraylist to store integers and strings in android?
<p>I am new to arraylist concept. Please help me how to declare arraylist and add strings and integers to it.</p>

<pre><code>String str = quesid+","+k1;
                             ArrayList&lt;Object&gt; arl=new ArrayList&lt;Object&gt;();
                             arl.add("str");
</code></pre>

<p>In the above code the string didnt added to arraylist. Where I went wrong...plz help me</p>

<p>Thanks in advance...</p>
