From 86dff9c930d69b162e74f0368ceeb4770649436a Mon Sep 17 00:00:00 2001 From: sayebabu Date: Thu, 21 Dec 2023 10:54:31 +0100 Subject: [PATCH] correction --- DEV3.2/Listes/test/src/listes.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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);