Question: Question 2 : Fill in the method body for findFirstName that searches through an ArrayList of Strings called names and returns the index of the
Question : Fill in the method body for findFirstName that searches through an ArrayList of
Strings called names and returns the index of the first matched name. The signature for the
method will be below.
public int findFirstNameString nameToFind
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
