Question: Create a project with java Complete the following tasks: //Create an Array List called band to hold the names of the band members //Add Paul,
Create a project with java
Complete the following tasks:
//Create an Array List called band to hold the names of the band members
//Add Paul, Pete, John, and George
//Print the band
//Using a method in the ArrayList Class, find the index of Pete and remove Pete from the list.
//Using a method in the ArrayList Class, print the name of the 2nd band member in the list
//Using a method in the ArrayList Class, add Ringo to the third position of the array list
//Using a method in the ArrayList Class, print the number of band members in the list.
//Use an enhanced for loop to print the list of band members
//Once this code is working, add an input file to your project and adapt the program to read the band members from a file. Include 15 names in your file
please comment using java doc and normal comment style. like so;
//>>>>>
/**
*/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
