Finding specific elements in an ArrayList, Java?

Trying to figure out how to find specific elements in an array list, this is just the beginning of CS 2 for me, and we barely (if at all) covered array lists. We focused mainly on arrays.

My program is meant to load a file, and manipulate it. One way is finding a person in the list for payroll and printing out all the data on that person. So I have to search the array list by the name. It is also suppose to throw an exception, so I assume use try-catch. Some simple examples for beginners would be great!
 
Back
Top