title: How to add all items in a String array to a vector in Java?
body: <p>My code looks like this :</p>
  
  <pre><code>Vector&lt;String&gt; My_Vector=new Vector&lt;String&gt;();
  String My_Array[]=new String[100];
  
  for (int i=0;i&lt;100;i++) My_Array[i]="Item_"+i;
  ......
  My_Vector.addAll(My_Array);
  </code></pre>
  
  <p>But I got an error message, what's the right way to do it, without looping to add each item ?</p>
  
  <p>Frank</p>