Question: a.public static void myPopulateRandomly(List inList, int howMany) This method populates inList with howMany randomly-generated ints. Note that inList is either an ArrayList or a LinkedList.
a.public static void myPopulateRandomly(List inList, int howMany)
This method populates inList with howMany randomly-generated ints. Note that inList is either an ArrayList or a LinkedList. Regardless, your implementation must run as efficiently as possible.
b.public static void myRemoveAll(List inList)
This method removes all the elements from inList.
Note that inList is either an ArrayList or a LinkedList. Regardless, your implementation must run as efficiently as possible.
c.public static int myHowManyGreaterThan(List inList, int target) .
This method returns the number of elements in inList that are strictly greater than target.
Note that inList is either an ArrayList or a LinkedList. Regardless, your implementation must run as efficiently as possible.
This is what I think
code:
public static void myPopulateRandomly(ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
