求解!
2 回答
已采纳
yanrun
TA贡献317条经验 获得超240个赞
public static void main(String[] args) {
String str="sdjfoiugiajajogijo";
char[] chs = str.toCharArray();
Arrays.sort(chs);
String newStr = new String(chs);
System.out.print(newStr);
}添加回答
举报
0/150
提交
取消
