/*---------------------------------------------------------- Keyboard.java This class contains one static method called readline() which is used to read a string of characters from the keyboard, terminating when the user presses the key. This is signified by a value of 10, which is the ASCII value of the newline character. NOTE: DO THIS ON THE UNIX SYSTEM!!! MS-DOS handles the key differently from Unix, sending two characters ( and ) to the input buffer when the key is pressed. THIS WILL CAUSE YOU PROBLEMS SO STICK WITH UNIX!!! ----------------------------------------------------------*/ import java.lang.*; import java.io.*; public class Keyboard { public static String readline() { // hint: modify the code from class that reads // a single character from the keyboard } // end of readline } // end class Keyboard