import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new Ha | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new Ha

Help me out. I tried it. It's showing error. Bowling game

19th Jan 2021, 5:02 AM
Samriddhi sinha
Samriddhi sinha - avatar
1 ответ
+ 4
players = new Hashmap<>(); But I don't know what you want to do with this line: Bowling(){ I think you should remove it.
19th Jan 2021, 5:45 AM
Denise Roßberg
Denise Roßberg - avatar