Better check your input data. The output doesn't look anything like what the input you posted should produce. Something is out of order.
What statements printed: Mary 2 times without an identifying...
Type: Posts; User: Norm
Better check your input data. The output doesn't look anything like what the input you posted should produce. Something is out of order.
What statements printed: Mary 2 times without an identifying...
I don't understand your printout. It shows that the 2 tokens for the names were read and then the double and then the int. All four tokens on the last line were read OK.
How can you get an...
Print out the values of fName and lName to see what is being read.
Your while loop tests if there is ONE token available (hasNext) but your code tries to read 3 tokens.