Question: This program needs to be completed in Java. Thank you very much for helping. Assignment: Create a program that reads in words from the console

This program needs to be completed in Java. Thank you very much for helping.
Assignment: Create a program that reads in words from the console and finds words that only occur once (single words). Print out the single words in alphabetical order Hints: This can be done with two ArrayList objects: one to hold all single words and one to hold the duplicate words O Read one word at a time from the console. When the user is done entering words, have them enter the word "end." Make sure that "end" does not show up on the list of single words. As each word is read from the console, determine if it is in the ArrayList of single words. If it is, then add it to the ArrayList of duplicate words, otherwise add it to the list of single words. When the user stops entering words, display the words in the list of single words in alphabetical order that are not in the list of duplicate words. o o o Make sure you document the program. Document the methods describing their purpose, input and output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
