Simple way: Use a for loop to compare each of the elements individually. Boolean equal=true; for(int i=0;i<arr1.length;++i)//both arrays are ...
確定! 回上一頁