Question: Write a program in Java that takes as entry level parameter a text file and generates a report describing the file contents, see sample report
Write a program in Java that takes as entry level parameter a text file and generates a report describing the file contents, see sample report below.
The program must be completely functional.
Please include a sample input file that provides data to thoroughly test your code, the associated output and the amount of time spent completing the code.
Example of report to generate:
File name: D:\temp\file.txt
Number of lines: 85
Number of characters (total): 1441
Number of letters: 782
Number of figures: 17
Number of other characters: 642
Number of words: 195
Number of 1 letter words: 56
Number of 2 letters words: 27
[...]
Number of 16 letters words: 2
Number of 19 letters words: 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
