ArrayList in ArrayList<String>
<pre><code>ArrayList&lt;ArrayList&lt;String&gt;&gt; mainlist = new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
ArrayList&lt;String&gt; childlist = new ArrayList&lt;String&gt;();

for (int i = 0; i &lt; 3 i++){
   String chlidtext = chlidlist + String.valueof(i);
   String maintext = mainlist +String.Valueof(i);
   childlist.add(chlidtext);
   mainlist.add(maintext);
}
</code></pre>

<blockquote>
<pre><code> return mainlist;
</code></pre>
</blockquote>

<p>i dont have an idea how to get 3rd element in every chlidlist ? </p>
