Le code ci-dessous affiche:
[b]
[a, b]
Cependant, je m'attendrais à ce qu'il imprime deux lignes identiques dans la sortie.
import java.util.*;
public class Test{
static void test(String... abc) {
Set<String> s = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
s.addAll(A....
30 mars 2017 à 18:09