1 字符串转字符数组str.toCharArray()
String s1 = "acb";
char[] s1Char = s1.toCharArray();
2 字符串转字符数组new String(char[] chars)
char[] chars = {'a', 'b', 'c'};
String s = new String(chars);
3 对字符数组进行排序Arrays.sort(char[] chars)
char[] chars = {'a', 'b', 'c'};
Arrays.sort(chars);