title: How to add data in charsequence [] dynamically in Java?
body: <p>One way to initialize a <code>charsequence[]</code> is</p>
  <pre><code>charsequence[] item = {&quot;abc&quot;, &quot;def&quot;};
  </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 <code>string[]</code> arrays?</p>