java -jar [jar-file-path] [txt-input-file-path] e.g. java -jar target\word-counter-1.0-SNAPSHOT.jar files\words.txt ...
This Java program reads a text file and counts the number of lines, words, and characters it contains. It uses Java’s built-in file handling and string processing features to analyze the file ...