这个符号错误是什么情况public class ArrayTest{public static void main(String[] args){int[] a = new int[]{3,4,5,6};int[] a2 = new int[]{3,4,5,6};System.out.println( "Arrays.equals(a,a2)");int[] b = Arrays.copyof(a ,6);System.out.println( "Ar
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/01 07:50:13
这个符号错误是什么情况public class ArrayTest{public static void main(String[] args){int[] a = new int[]{3,4,5,6};int[] a2 = new int[]{3,4,5,6};System.out.println( "Arrays.equals(a,a2)");int[] b = Arrays.copyof(a ,6);System.out.println( "Ar
这个符号错误是什么情况
public class ArrayTest
{
public static void main(String[] args)
{
int[] a = new int[]{3,4,5,6};
int[] a2 = new int[]{3,4,5,6};
System.out.println( "Arrays.equals(a,a2)");
int[] b = Arrays.copyof(a ,6);
System.out.println( "Arrays.equals(a ,b)");
System.out.println( "Array.toString(b)");
}
}
这个符号错误是什么情况public class ArrayTest{public static void main(String[] args){int[] a = new int[]{3,4,5,6};int[] a2 = new int[]{3,4,5,6};System.out.println( "Arrays.equals(a,a2)");int[] b = Arrays.copyof(a ,6);System.out.println( "Ar
应该是你的“Arrays.copyof(a ,6);”没有被定义过吧.检查一下你import的包有哪些?