题解 | #图片整理#
图片整理
http://www.nowcoder.com/practice/2de4127fda5e46858aa85d254af43941
import java.util.Scanner;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String str = sc.next();
char[] c = str.toCharArray();
Arrays.sort(c);
for(int i=0;i<c.length;i++){
System.out.print(c[i]);
}
System.out.println();
}
}
}