The video help you build a WordCountInTextFile program that count the number of occurrences of each word in a text file. This code applies the OOP
Input : A text file
Output : Count the number of occurrences of each word
Example: this is the content of the text file
"How to count the number of occurrences of each word?
How to count number or each word in string
Calculating frequency of each word in a sentence in java"
The program returns:
{occurrences=1, sentence=1, a=1, or=1, string=1, in=3, count=2, each=3, frequency=1,
the=1, Calculating=1, How=2, number=2, java=1, word?=1, of=3, to=2, word=2}