<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import java.util.*;

// Documentacion de la clase ArrayList: https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html

public class testArrayListInt {

   public static void main (String [ ] Args) {

      System.out.println ("ArrayList:");

      List&lt;Integer&gt; l = new ArrayList&lt;Integer&gt;();

      l.add(1);
      l.add(2);
      l.add(3);
      l.add(4);
      l.add(5);
      l.add(6);
      l.remove(3);

      for (int i = 0; i &lt; l.size(); i++) {
         System.out.println(l.get(i));
      }
   }

}
</pre></body></html>