Write a program that creates a String Array List. Continually prompt the user for Strings to add

Question:

Write a program that creates a String Array List. Continually prompt the user for Strings to add to the list until a sentinel value is entered. Use an iterator to display all the Strings, then continually ask the user for a String to eliminate until a sentinel value is entered. After each String is eliminated, display the new list. If the user attempts to continue to eliminate Strings after the list is empty, display an appropriate message, and end the program. Save the file as RemoveWords.java.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: