Question: with very simple java code Task 2: Write a static method which takes an ArrayList of Strings and an integer and changes the ArrayList destructively
Task 2: Write a static method which takes an ArrayList of Strings and an integer and changes the ArrayList destructively to remove all Strings whose length is less than the integer argument. So if the integer argument is 4 and the ArrayList is : tomato cheese chips fruit butter tea buns pie The output is : tomato cheese chips fruit butter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
