filmov
tv
Java CodeStepByStep || wordCount || set, collections, streams, string, file, scanner

Показать описание
Question: Write a method named wordCount that accepts a file name as a parameter and opens that file and that returns a count of the number of unique words in the file. Do not worry about capitalization and punctuation; for example, "Hello" and "hello" and "hello!!" are different words for this problem. Use a Set as auxiliary storage.
Involves: Set, Collections, Streams, String, File, Scanner
Involves: Set, Collections, Streams, String, File, Scanner