Question: Overall, the program needs to take in a text file name as an input and read over each line. In doing so, it will count

Overall, the program needs to take in a text file name as an input and read over each line. In doing so, it will count the number of times the most frequent characters occur, in a certain amount of lines, as in the example output in the picture. My intention was to get this program setup in a object-oriented language using Java. Thank you!!
The output should look like: the most frequent characters in lines are: e' i , t', 'o' and 'r' Mer is most frequent in: Mi is most frequent in: Nt is most frequent in: is most frequent in: r is most frequent in: 27 lines 20 lines 14 lines 9 lines 8 linee
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
