repl.it
@jfbueno/

UnawareStripedNorthernflyingsquirrel

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
import java.util.*;

public class Main {
    public static void main(String[] args) {
        List<Integer> lista = new ArrayList<>(Arrays.asList(new Integer[] { 1, 2, 3 } ));
        lista.remove(0);
        System.out.println(lista.get(0));
    }
}