+ 1
Error: Cannot find symbol (Java)
Here is what the error says: var = in.nextInt Symbol: variable nextInt Location: variable in of type scanner I made a program using a scanner, this is the third thing that the scanner has to scan for. Please help! I’m not sure how to fix this.
1 Respuesta
+ 1
You didn't assign a name to your var. And please use the explicit datatype like:
int nextInt = in.nextInt;