Thank you so much. I think i get it. It's working now
Type: Posts; User: junsugal
Thank you so much. I think i get it. It's working now
I am so sorry, I am new to java and scanner and linked list confused me.
So, what i meant is, when I only use hasNext() and use next to get the value, it can return my integer value too.
So how...
So, how do i read 2 values in one line?
It seems to me that next and nextInt has no difference.
When i have a print statement in my while loop, and assign it to print the current item, it can...
I have 2 problems here.
I am supposed to read from a file that contains the name of players and amount of golds.
So in each line in the file there is one string value and one int value.
My node...