diff --git a/DEV3.2/Listes/test/src/listes.java b/DEV3.2/Listes/test/src/listes.java index 65d6b8a..386eb25 100644 --- a/DEV3.2/Listes/test/src/listes.java +++ b/DEV3.2/Listes/test/src/listes.java @@ -1,13 +1,14 @@ import java.util.ArrayList; +import java.util.List; public class listes { public static void main(String[] args) { - ArrayList l1 = new ArrayList(); + List l1 = new ArrayList(); l1.add(1); - ArrayList l2 = new ArrayList(); + List l2 = new ArrayList(); l2.add(2.5654546f); - ArrayList l3 = new ArrayList(); + List l3 = new ArrayList(); l3.add(1); l3.add(2.5654546f); l3.add(646L);