how to specify the genric type in runtime
<p>I'm having a arraylist which I need to specify the type in runtime.</p>

<pre><code>ArrayList&lt;String&gt; alist = new ArrayList&lt;String&gt;();
</code></pre>

<p>I need to specify the type "String" at runtime. how can I do that.
It should not be static.</p>
