What happened when you tried? ;)
Notice that Hashtable *is a* Map.
Type: Posts; User: KevinWorkman
What happened when you tried? ;)
Notice that Hashtable *is a* Map.
The Map tutorial contains code for breaking up an array of words into the frequency of each. Might be useful: The Map Interface (The Java™ Tutorials > Collections > Interfaces)
What about it is confusing you?
I suggest writing out what you have to do, in plain English. Pretend you have a really dumb friend, and your job is to show that friend how to categorize a bunch of...
I'm not totally sure what your question is. What have you tried?