i'm having trouble with a code. I have read words from a text file into a String array, removed the periods and commas. Now i need to check the number of occurrences of each word. I managed to do that as well. However, my output contains all the words in the file, and the occurrences. Like this: the 2 birds 2 are 1 going 2 north 2 north 2i'm having trouble with a code. I have read wor