我有这个 ArrayList
ArrayList<Character> wrongLetters;
还有这个系统
System.out.println("Number of errors: " + wrongLetters.size() + " (" + String.join("", String.valueOf(wrongLetters)) + ")");
它现在像这样打印
Number of errors: 9 ([X, M, S, K, B, Q, L, I, U])
但我怎样才能做到这样
Number of errors: 9 (XMSKBQLIU)
皈依舞
弑天下
12345678_0001
相关分类