Question: Please explain where my code is bugged and how to fix it. BJP5 Exercise 10.3: removeEvenLength Write a method removeEvenLength that takes an ArrayList of
Please explain where my code is bugged and how to fix it.
BJP5 Exercise 10.3: removeEvenLength Write a method removeEvenLength that takes an ArrayList of Strings as a parameter and that removes all of the strings of even length from the list. Type your solution here: This is a method problem. Write a Java method as described. Do not write a complete program or class; just the method(s) above. 4 Indent Sound F/X Highlighting You passed 2 of 4 tests. Try again. \begin{aligned} \hline test \( \# 1: & {[ \) "This", "is", "a", "test"] \( } \\ \) expected output: & \( {[ \) a \( ] } \\ \) your output: & \( {[ \) is, a \( ] } \\ \) differences: & \( 1 \mathrm{c} 1 \\ & [ \) is, a ] result: & @fail \end{aligned}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
