+ 1

Why is this giving a "cannot find symbol" error

https://code.sololearn.com/cnXZO9J7Gebo/?ref=app

10th May 2018, 1:29 AM
tom crossley
tom crossley - avatar
4 Antworten
+ 2
You used camel case to name the class "GameBoard" but didn't use it to instantiate it "Gameboard"
10th May 2018, 2:05 AM
ODLNT
ODLNT - avatar
+ 2
Typo GameBoard gb = new GameBoard(2, 3);
10th May 2018, 2:06 AM
Toni Isotalo
Toni Isotalo - avatar
+ 1
how did I miss that lol I was staring at it for 30 minutes must be tired thank you
10th May 2018, 2:08 AM
tom crossley
tom crossley - avatar
+ 1
It happens the best of us. That is the main reason for tag-team coding.
10th May 2018, 2:12 AM
ODLNT
ODLNT - avatar