FileDocCategorySizeDatePackage
Prompt.javaAPI DocExample293Tue Dec 12 18:58:26 GMT 2000None

Prompt

public class Prompt extends Object

Fields Summary
Constructors Summary
Methods Summary
private native java.lang.StringgetLine(java.lang.String prompt)

public static voidmain(java.lang.String[] args)

    Prompt p = new Prompt();
    String input = p.getLine("Type a line: ");
    System.out.println("User typed: " + input);