ArrayList Methods - AP Computer Science A

Card 1 of 30

0
Didn't Know
Knew It
0
1 of 3029 left
Question

Identify the method that removes the first occurrence of a specified element in an ArrayList.

Tap to reveal answer

Answer

remove(Object o). Searches and removes by value, not index.

← Didn't Know|Knew It →