I am getting more than 15 errors and using Netbeasn I got more than 20 errors??!! I combined the helper class also!!
All the errors are
DotComBust.java:18: cannot find symbol
symbol : class gamehelper
location: class DotComBust
gameHelper helper = new gamehelper();
^
DotComBust.java:39: cannot find symbol
symbol : variable dotComsList
location: class DotComBust
for (DotCom dotcomToSet : dotComsList)
^
DotComBust.java:48: cannot find symbol
symbol : variable dotComsList
location: class DotComBust
while(!dotComsList.isEmpty())
^
DotComBust.java:50: cannot find symbol
symbol : method getuserinput(java.lang.String)
location: class gameHelper
String userGuess = helper.getuserinput("Enter a guess");
^
DotComBust.java:67: cannot find symbol
symbol : variable dotcomList
location: class DotComBust
dotcomList.remove(dotcomToTest);
^
DotComBust.java:89: cannot find symbol
symbol : method setUpGame()
location: class DotComBust
game.setUpGame();
^
DotComBust.java:130: cannot find symbol
symbol : variable gridsize
location: class gameHelper
public int[] gird = new int[gridsize];
^
DotComBust.java:138: cannot find symbol
symbol : class InputSreamReader
location: class gameHelper
new InputSreamReader(System.in));
^
DotComBust.java:165: cannot find symbol
symbol : variable grid
location: class gameHelper
if(grid[location] ==0){
^
DotComBust.java:183: cannot find symbol
symbol : variable grid
location: class gameHelper
grid[coords[x]] =1;
^
DotComBust.java:108: cannot find symbol
symbol : method indexof(java.lang.String)
location: class java.util.ArrayList<java.lang.String>
int index = locationCells.indexof(userInput);
^
11 errors
Why are these errors occurring though the book is considered a good one???