I have an assignment in which I have to read in a series of words using the nextLine method from the Scanner class and then count the number of words using the StringTokenizer class. I know you all like for people to show some initiative by starting the program but I am not sure what needs to be done. I have no experience whatsoever using the StringTokenizer class so I was hoping someone could explain to me how I could accomplish this task.
Thanks