import cs1.Keyboard; /** get a string from the user using the Keyboard class. @author Greg Vogl 2003-09-21 */ public class KeyboardString { /** get a string from the user using the Keyboard class. */ public static void main (String[] args) { System.out.println("Enter a string:"); String input = Keyboard.readString(); System.out.println("You entered: " + input); } }