QUESTION 7 Assume that list1 is an object of class type ArrayList of Java (similar to KWArrayList class) and it
Posted: Tue Jul 05, 2022 10:33 am
QUESTION 7 Assume that list1 is an object of class type ArrayList<String> of Java (similar to KWArrayList class) and it has the following values: "Q" "U" "1" "Z" q" the instruction list1.set(list1.indexOf("L"), list1.remove(0)); will change the list to : O "Q" *** Q" "U" *** "Z" O "Q" "Z" O "Q" "1" "1" "U" "1" "U" N "Z"