APL/DEV 3.2/TP01/Tableaux/Tableaux.java

10 lines
246 B
Java
Raw Permalink Normal View History

2022-10-05 11:07:41 +02:00
import java.util.Arrays;
public class Tableaux {
public static void main(String[] args) {
String[] args2 = Arrays.copyOf(args, 5);
Arrays.sort(args2, new Sorter());
System.out.println(Arrays.toString(args2));
}
}