Java-BlueJ ArrayList and Loops Create a class named Cat and do the following: Create an ArrayList named facultyContacts and fill with the following facultyNames: Joan, Loly,Susan,Lirio, and King (in...

Java-BlueJ ArrayList and Loops Create a class named Cat and do the following: Create an ArrayList named facultyContacts and fill with the following facultyNames: Joan, Loly,Susan,Lirio, and King (in this order) Write three methods to process the ArrayList using each of the three loop types: for, foreach and while. The methods should be written so that they will still accurately process the ArrayList even after items are added or removed. You will need to create and populate the ArrayList before using the methods to process it. Running any of the loop methods will produce a listing of the faculty names from the ArrayList.

Dec 04, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here