import java.util.*; public class Bowling { HashMap<String, Integer> players; Bowling() { players = new Ha | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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