What will be the output of the following code?
int[] arr = {3, 1, 4, 1, 5, 9}; Arrays.sort(arr); System.out.println(arr[0]);
1
3
4
9
This question is part of this quiz :