title: how to remove particular data from ArrayList<Integer> in android
body: <p>I have one Array List and contains some values like 2,3,4,5,6. now how to check if the value is present and want to delete that particular Value. please help me to do this. tnx in advance.</p>
  
  <p>I tried ,</p>
  
  <pre><code>ArrayList&lt;Integer&gt; Positions=new ArrayList&lt;Integer&gt;();
  Positions.remove(6);
  </code></pre>
  
  <p>but it shows an error.</p>