Java Créer une nouvelle liste vide
List myList = new ArrayList();
Jared Black
List myList = new ArrayList();
List myList = new ArrayList();
or with generics (Java 7 or later)
List<MyType> myList = new ArrayList<>();
or with generics (Old java versions)
List<MyType> myList = new ArrayList<MyType>();