title: loop on list with remove
body: <pre><code>    for (String fruit : list)
      {
          if("banane".equals(fruit))
              list.remove(fruit);
          System.out.println(fruit);
      }
  </code></pre>
  
  <p>Here a loop with remove instruction.
  At execution time, I get some ConcurrentModificationException, below the console output:</p>
  
  <pre><code>Exception in thread "main" java.util.ConcurrentModificationException
  at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
  at java.util.AbstractList$Itr.next(AbstractList.java:420)
  at Boucle.main(Boucle.java:14)
  abricot
  banane
  </code></pre>
  
  <p>Question: How to remove some element with a loop?</p>