Question: java [05] Create a method with the following specifications: Name: namePos. Return: your responsibility. Parameters: your responsibility. Process: Accepts an arraylist of strings and a
java
[05] Create a method with the following specifications: Name: namePos. Return: your responsibility. Parameters: your responsibility. Process: Accepts an arraylist of strings and a name Searches the arraylist for the given name If it finds the name in the ith position, it adds the position to a second arraylist. Returns the second arraylist Assumptions: multiple copies of "name" may exist in the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
