How to create dynamic String Array if we dont know number of strings in the beginning?
<p>I have the HashMap, if i want to create string array of hashmap.values(), we can create it as</p>

<pre><code>String[] strArray = new String[hashmap.size()]
</code></pre>

<p>But my problem is, if hashmap value contains for example "A,B,C" then i need to add A and B and C to strArray. <strong><em>Facing issue in creating dynamic HashMap.</em></strong> </p>
