Cannot find symbol variable Keyboard...
Hi, I'm new to Java, and I started out with my first class- I'm using Jcreator LE as an IDE and well, it's giving me an error every time I compile, saying 'Cannot find symbol variable Keyboard' and pointing towards the input statements. Please can someone tell me what I'm doing wrong and how to fix it? Here's my code;
/**
*My First Class
*/
public class HelloWorld {
public static void main (String args [] ) {
String name;
int age;
System.out.print("Enter your name: ");
name = Keyboard.readString(); //Pointing at this line...
System.out.print("Enter your age: ");
age = Keyboard.readInt(); //It's pointing me at this line too...
System.out.println("My name is " + name +
" and I am " + age + " years old.");
}
}