/*
* Main.java
*
* Created on 26 de enero de 2005, 12:24
*/
package lectura;
import java.io.*;
public class Main
{
public Main()
{
}
public static void main(String[] args)
{
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Escribe una línea:");
String cadena = null;
try
{
cadena = stdin.readLine();
}
catch (IOException e)
{
System.out.println("Excepción: "+e.toString());
return;
}
System.out.println(cadena);
}
}