+ 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?
3 Respuestas
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/
+ 1
https://code.sololearn.com/cnhgHV8Vq2S2/?ref=app
+ 1
oh okay, got the code correct! thanks 👍