Multiple choice Which of the following methods is/are present in the ArrayList class in Java? sort(int[] a) indexOf(Object o) copyOfRange(double[] orr, int fr, int t) Both 1 and 2 Both 2 and 3 Reveal answer Fill a bubble to check yourself B Correct answer Explanation indexOf(Object o) method is present in the ArrayList class in Java.