+ 1

Bowling problem: eof error

Hii, I am trying to solve the bowling problem of Code coach in java. However it is unexpectedly showing me an eof error. Can someone please tell me why am I facing this error. What am I doing wrong?

29th Dec 2021, 7:25 PM
Ruchika Sehgal
Ruchika Sehgal - avatar
3 ответов
0
A close brace is missing for Bowling class.. Unfortunately hashmap no methods getKey() and getValue().. It have only get(key) method... edit: Ruchika Sehgal sorting on hashmap requires other techniques like in this link.. it can be directly sorted by a single method like lists or arrays.. https://www.google.com/amp/s/www.geeksforgeeks.org/java-program-to-sort-a-hashmap-by-keys-and-values/amp/
29th Dec 2021, 7:44 PM
Jayakrishna 🇮🇳
+ 1
https://code.sololearn.com/cnhgHV8Vq2S2/?ref=app
29th Dec 2021, 7:26 PM
Ruchika Sehgal
Ruchika Sehgal - avatar
+ 1
oh okay, got the code correct! thanks 👍
30th Dec 2021, 1:37 AM
Ruchika Sehgal
Ruchika Sehgal - avatar