Comparing lexicographically

Report a typo

What will this code print?

    byte[] arr1 = {1, 2, 3};
    byte[] arr2 = {2, 3, 4};

    System.out.println(Arrays.compare(arr1, arr2));
Enter a number
___

Create a free account to access the full topic