+ 1
What does this error mean?
Trying the bowling game test in java, I'd like to know what the error means in this code. If possible, I'd like you to give as less information as possible. I want to crack this on my own, only want what the error means. (Note: It's not complete) https://code.sololearn.com/cAi4J4cU9KG0/?ref=app
4 Answers
+ 3
1. Line 13, players is a HashMap and you're using Iterator<Integer>
So, you have to use players.values() to get the values of the hashmap.
2. Line 14, Will be hasNext() but you wrote hasnext().
+ 1
Minho đ°đ· ok thanks, let me try it.
0
Ayush Kumar, I really appreciate your answer but... I think you didn't read my question fully, yet thanks.