title: removing a value from a list<String> in java throws java.lang.UnsupportedOperationException
body: <p>I want to remove specific elements from my List. I don't want to do this while iterating through the list. I want to specify the value  which has to be deleted. In javadocs I found the function <code>List.remove(Object 0)</code> This is my code : </p>
  
  <pre><code>         String str="1,2,3,4,5,6,7,8,9,10";
           String[] stra=str.split(",");
           List&lt;String&gt; a=Arrays.asList(stra);
           a.remove("2");
           a.remove("3");
  </code></pre>
  
  <p>But I get an Exception : <code>java.lang.UnsupportedOperationException</code></p>