Question: help please Create a class called CustomerListerArrayList.java with a main method that declares and instantiates an ArrayList of String objects called customerName. Add each of

help please

help please Create a class called CustomerListerArrayList.java with a main method that

Create a class called CustomerListerArrayList.java with a main method that declares and instantiates an ArrayList of String objects called customerName. Add each of the following Strings to the ArrayList: Beth Jerry Rick Summer Morty Write an enhanced for loop to display all the String objects so that each name is on a separate line with a blank line at the end. Add "Jessica" so that it is the 4th name in the ArrayList. Now add "Rick" into the third position in the list (there will be two identical strings "Rick" in the list). Write another enhanced for loop to display all the string objects so that each name is on a separate line with a blank line at the end. Write a traditional for loop to remove Rick" and display the revised ArrayList so that each name is on a separate line with a blank line at the end Was "Rick" removed completely from the list? Why or Why not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!