the Arrays class's toString method formats the whole array.
For testing you would want to change the array size.
Type: Posts; User: Norm
the Arrays class's toString method formats the whole array.
For testing you would want to change the array size.
Work on the problem of separating the words in a small test program by itself.
Define a String with one of the lines from the file and then work out the logic for getting the words from the String. ...
That's interesting that there were more than 1000 words?
Can you explain the logic of your program? I don't see any comments that tell us what the code is trying to do.
Try debugging your code...