• 2022-06-08
    Set s=new HashSet();s.add("a");s.add("b");s.add("a");System.out.println(s);输出结果为[a,b]。
    A: 错
    B: 对