I have a problem with the imput "cs1". Notice that every time I compile the fie, it shows "The package cs1 does not exist". Afterward, I recognized that I need to find configure path (Keyboard class, package cs1) since is's not part of Java standard class library. Here's my java file: anyone can help me, THANKS A LOT~!
import cs1.Keyboard;
public class Echo
{
public static void main (String[] args)
{
String message;
System.out.println ("Please type in: ");
message = Keyboard.readString();
System.out.println ("You just entered: \"" + message + "\"");
}
}
2006-09-27
17:05:50
·
2 answers
·
asked by
Anonymous