// This program reads in a string and then displays it.
// Barry Cornelius, 2 June 2000
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class StringInput
{
   public static void main(final String[] pArgs) throws IOException
   {
      final InputStreamReader tInputStreamReader = 
                          new InputStreamReader(System.in);
      final BufferedReader tKeyboard = 
                    new BufferedReader(tInputStreamReader);
      System.out.println("Please type your message:");
      final String tLine = tKeyboard.readLine();
      System.out.println("You typed in the following message:");
      System.out.println(tLine);
   }
}
