<code>list.remove(Integer.valueOf(5))</code> (where list is ArrayList<Integer>) removes
- Acheck_circle
First element equal to 5
- B
All elements equal to 5
- C
Compile error
- D
Element at index 5
Explanation
The Integer overload removes the first occurrence of the value.