Question: 1. Copy some text from a news article, paste it in the Notepad++ editor and save it in a text file named testtext.txt; 2. Write

1. Copy some text from a news article, paste it in the Notepad++ editor and save it in a text file named testtext.txt; 2. Write a Java program to read the words in the text file into an ArrayList object, display the information about how many words there are in the text file, and display the words in the order they appear in the text file. Then sort the array and display the sorted array. Take a screenshot of the output window. 3. Submit your text file, the screenshot, and the Java source code file (not the screenshot of it)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
