public static void main(String[]args){
Test t = new Test();
String s = t.output();
System.out.println(s);
String s2 = t.setsort(s);
System.out.println(s2);
}
public String output(){ // 输入一个字符串
System.out.println("请输入一个字符串");
String s = null;
try{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
s = bf.readLine();
}
catch(IOException io){
io.printStackTrace();
}
return s;
}