hello all
I am new to
Java and doing a code to count the specific words in a text file and print them with the line number.
The code below is the sample main method which I havenot combined with other classes.
The problem I encountered is that this main method only print the odd lines in the text files. Anyone can show me how to resolve it? Thanks.