how to add data in charsequence [] dynamically in java?
<p>one way to initialize charsequence[] is </p>

<pre><code>charsequence[] item = {"abc","def"};
</code></pre>

<p>but i don't want to initialize it this way. can someone please suggest some other way like the way we initialize string[] array...</p>

<p>thanks</p>
