Question: Create a Java program that analyzes a folder of input files and puts the output into a new file. The program cannot use a Map

Create a Java program that analyzes a folder of input files and puts the output into a new file. The program cannot use a Map Abstract Data Type or a Dictionary.

The program should output the length of longest line in the file (which is 80 characters), average line length, Number of unique space-delineated tokens (case-sensitive), Number of unique space-delineated tokens (case-insensitive), Number of all space-delineated tokens in file, Most frequently occurring token(s), Count of most frequently occurring token (case-insensitive), 10 most frequent tokens with their counts (case-insensitive), 10 least frequent tokens with their counts (case-insensitive).

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!