List of utility methods to do Char Array Equal
if (arr.length != arr1.length) return false; for (int i = 0; i < arr.length; ++i) { if (arr[i] != arr1[i]) return false; return true;