Wednesday, 7 March 2012

Lab 01 -Question 2

Write a program that will read any given text file (filename passed as command line argument)
and print the number of occurrences of each word. Assume that words can be delimited by a
space, a comma, a newline or a full-stop. You are required to use a HashMap to store the word
count.

No comments:

Post a Comment