diff --git a/Java cheat sheet for interview b/Java cheat sheet for interview index 0826b06..786dbe2 100644 --- a/Java cheat sheet for interview +++ b/Java cheat sheet for interview @@ -46,6 +46,7 @@ Arrays.sort(arr); Arrays.fill(arr, -1); // initialize all array elements with value -1 public void helper(int[] nums); helper(new int[]{1, 2}); // initialize array in method +Arrays.equals(arr1,arr2); /********************** HashMap (TreeMap), HashSet (TreeSet)***********************/ HashMap map = new HashMap();