Quiz 15 (Exercises from Chap. 20: (HashSet, HashMap)
- (P20.1, Big Java) Write a program that reads text from System.in
and breaks it up into words. Insert the words into a set. Finally,
print the set and it's size.
- Write a program to read text from System.in and break it into
words. Insert the words into a map along with a count of the frequency
of each word. Finally print out each word followed by its frequency.