21.
What is the purpose of the Arrays.sort() method in Java?

24.
What happens when you try to access an element at an index that is out of bounds in an ArrayList in Java?

26.
In Java, how do you find the maximum element in an array?

27.
Which of the following statements is true about ArrayLists in Java?

29.
What is the purpose of the Arrays.fill() method in Java?

30.
In Java, what is the purpose of the Arrays.equals() method?