Question: Create a program to demonstrate the use of Collections methods reverse, fill, copy 1. Create and output a list of three characters o Let's use

Create a program to demonstrate the use of Collections methods reverse, fill, copy 1. Create and output a list of three characters o Let's use name initials o If you do not have three initials then use the character N 2. Reverse and output the list 3. Create copy list from an array of the three Characters 4. Copy the contents of list in step one into copy list of the step three, output the copied list. 5. Fill the initial list with the letter R and output the list. 6. Create a method named output and display the characters in your list public static void Output(List I) Call this function when you want to output your list Function should iterate through the list using a method discussed in the lecture Output: Example output Initial List BMW Reversed List WMB Copied List WMB R Filled List RRR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
