+ 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

27th Dec 2020, 11:59 AM
Mayur Gowda
Mayur Gowda - avatar
4 odpowiedzi
+ 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().
27th Dec 2020, 12:14 PM
Minho
Minho - avatar
+ 1
Minho 🇰🇷 ok thanks, let me try it.
27th Dec 2020, 12:19 PM
Mayur Gowda
Mayur Gowda - avatar
0
Ayush Kumar, I really appreciate your answer but... I think you didn't read my question fully, yet thanks.
27th Dec 2020, 12:17 PM
Mayur Gowda
Mayur Gowda - avatar