关于方法返回值的问题
public static void main(String[] args) {
int[] a = {5,2,33,31,54};
Dome01 test = new Dome01();
System.out.println(test.a(a));
}
public int[] and(int[] a){
Arrays.sort(a);
return a; }
请问错在哪?
public static void main(String[] args) {
int[] a = {5,2,33,31,54};
Dome01 test = new Dome01();
System.out.println(test.a(a));
}
public int[] and(int[] a){
Arrays.sort(a);
return a; }
请问错在哪?
2015-07-02
举报