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: "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"