Question: File stats Write a program that opens the flename specified by the user, and outputs the number of lines in the file, character count,and word
File stats Write a program that opens the flename specified by the user, and outputs the number of lines in the file, character count,and word count Test Case 1 Test Case 2 Console 1 Enter file name 2 input 1.txt 3 Here are the stats for input_1.txt 4 Number of lines: 200 5 Character count: 3119 6 Word count: 400 Input Files input 1txt O Help Java 8 Run Code public class Main { - public static void main(String] args) (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
