i am still getting compile time error in this program plz give me solution
vijayreddy patil
Greenhorn
Joined: Feb 12, 2008
Posts: 5
posted
0
public class SimpleDotCom { int [] locationCells; int numOfHits = 0;
public void setLocationCells(int [] locs) { locationCells = locs; }
public String checkYourself(String stringGuess) { int guess = Integer.parseInt(stringGuess); String result = "miss"; for (int cell : locationCells) { if (guess == cell)