求大神指导
import java.util.Arrays;
public class HelloWorld {
public static void main(String[] args) {
int [] array={23,234,345,45,35345,35};
int [] array1={23,23,23,23,23,23,3};
System.out.println( Arrays.equals(array, array1));
int [] array2=array1.clone();
System.out.println(Arrays.equals(array1,array2));
}
}
false true
为什么结果在一行,println不是会另起一行么