here what it prints out:
Word: Frequency:
-------------------------------------------------
old 1
is 1
mars 1
bob 2
name 1
years 1
Type: Posts; User: shad0wblade890
here what it prints out:
Word: Frequency:
-------------------------------------------------
old 1
is 1
mars 1
bob 2
name 1
years 1
sure,
it takes a txt file (in this case test-file.txt) and reads/prints it out also counts the freq. of the words in the txt (such as the word "bob" apperes 2 times). but i want it to be sorted...
I got 99% done just need help with sorting code.
It reads the text file that i added in the main class.
import java.util.ArrayList;