Practice · 2 of 5
Value removal with report
CHALLENGE
Difficulty: intermediate+25 XP
Implement boolean removeFirst(ArrayList<String> list, String value): remove the FIRST element equal (by content) to value; return whether anything was removed. Missing value → false, list untouched.
Press Submit to check your solution.
Back to lesson: Practice: ArrayList lab