这样写错在哪里?
public static void main(String[] args) {
int[] a = {5,2,33,31,54};
Dome01 test = new Dome01();
System.out.println(test.and(a));
}
public int[] and(int[] array){
Arrays.sort(array);
return array;
}
运行结果:[I@19e0bfd
public static void main(String[] args) {
int[] a = {5,2,33,31,54};
Dome01 test = new Dome01();
System.out.println(test.and(a));
}
public int[] and(int[] array){
Arrays.sort(array);
return array;
}
运行结果:[I@19e0bfd
2015-07-02
举报