title: Remove multiple elements with multiple indexes from arraylist in java
body: <p>I have two List2. I stores items in one list and in 2nd list I am storing int numbers which I consider as indexes. </p>
  
  <p>I want remove items from items list with all indexes.</p>
  
  <pre><code>ArrayList&lt;String&gt; items = new ArrayList&lt;String&gt;();
  
  ArrayList&lt;Integer&gt; indexes = new ArrayList&lt;Integer&gt;();
  
  items.add("a");
  items.add("b"); // should be removed
  items.add("c"); 
  items.add("d"); // should be removed
  items.add("e");
  items.add("f"); // should be removed 
  items.add("g");
  items.add("h");
  
  
  indexes.add(1);
  indexes.add(3);
  indexes.add(5);
  
  
  Output : items : [a,c,e,g,h]
  </code></pre>