import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new Ha | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 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