package test;
import java.io.*;
import java.util.*;
public class a {
public static void main(String[] args)throws IOException {
int max=0;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String s=null;
while((s=br.readLine())!=null)
{
if(s.equals("."))
break;
int x=Integer.parseInt(s);
//System.out.println(s.toUpperCase());
System.out.println(Arrays.sort(x));
}
}
}
这句话有错误System.out.println(Arrays.sort(x));请问该怎么解决?
|