public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
char[] chars = str.toCharArray();
Arrays.sort(chars);
for (char c : chars) {
System.out.print(c);
}
}
HJ34 图片整理(java详解)
最新推荐文章于 2024-08-24 17:09:16 发布