Question: write a java program that reads all text files from a folder and writes the following information in another file named out.txt 1.Read files from
write a java program that reads all text files from a folder and writes the following information in another file named out.txt
1.Read files from a directory (read eachin line by line , use scanner to tokenize each line, Get rid of non alphabetical strings)
2.Count each words occurence given a string.
3. Sort the counted words.
4.Write back in another line.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
