QUESTION 7 Assume that list1 is an object of class type ArrayList of Java (similar to KWArrayList class) and it
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
QUESTION 7 Assume that list1 is an object of class type ArrayList of Java (similar to KWArrayList class) and it
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"