Question: java 1. (2pts) Entirely remove a given element from an arraylist (remove(ele) only delete the first ele in the list). Please address it in a
1. (2pts) Entirely remove a given element from an arraylist (remove(ele) only delete the first ele in the list). Please address it in a recursive way. e.g., for the list ("red", "red", "green"), create a method like removeAll(list, "red"). It will return ("green"). Please also write a test program for your method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
