Create a Java program that analyzes a folder of input files and puts the output
ID: 3746710 • Letter: C
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 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).
Explanation / Answer
PROGRAM: