Hi I am currently learning java so I can develop android apps, but I just started so I need a little guidance as the books and tutorials I am using aren't perfect.
Code:
// I had forgotten to add
//import.util.Scanner
class EchoLine {
public static void main(String args[]) {
Scanner eyeGlass = new Scanner(System.in); //This is Line 5
System.out.println(eyeGlass.nextLine());
}
}
For some reason I can't get this to compile, Jcreator is showing.
error: cannot find symbol line 5
#Solved
I forgot to use import java.util.Scanner, I can't believe i missed that it's like trying to use a gun with no bullets of course I'm gonna fail.