Question: write a program that reads a List of Strings and a final target string. This time iterate over the elements of the list and report
write a program that reads a List of Strings and a final target string. This time iterate over the elements of the list and report the index of any element that is equal (as in equals) to the target string. Use a for each loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
