...
Code Block | ||
---|---|---|
| ||
int[] arr1 = new int[20]; // initialized to 0
int[] arr2 = new int[20]; // initialized to 0
System.out.println(Arrays.equals(arr1, arr2)); // prints true
|
Compliant Solution
...
...
Code Block | ||
---|---|---|
| ||
int[] arr1 = new int[20]; // initialized to 0
int[] arr2 = new int[20]; // initialized to 0
System.out.println(Arrays.equals(arr1, arr2)); // prints true
|
...