Java 中的Arrays類提供了Arrays.equals()方法來檢查兩個數組是否相等。 用法: public static boolean equals(int[] a, int[] a2) 參數: a - one array to be tested for ...
確定! 回上一頁