Read Value from ArrayList
<p>I have an array List as:</p>

<pre><code>{IDS=[10, 12], SALARY=[10000, 20000]}
</code></pre>

<p>What I want is, I should be able to print like</p>

<pre><code>IDS=10,12
SALARY=10000,20000
</code></pre>

<p>Code:</p>

<pre><code>    ArrayList&lt;HashMapImpl&gt; ds = XmlUtils.getListFromXml("Abc", "XYZ", str);
    System.out.println("Array Content====&gt;");
    Object[] elements = ds.toArray();
    for(int i=0;i&lt;elements.length;i++){
        System.out.println(elements[i]);
    }
</code></pre>
