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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!