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: "U" T "Z" "Q" the instruction list1.set(list1.indexOf("L"), list1.remove(0)); will change the list to : O "Q" ww "U" "1" OQ" "U" o "a" "Z" o "a" "1" "Z" "2"