ismaelvc

Captura.java

Nov 15th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. import java.io.*;
  2.  
  3. public class Captura {
  4.     public static void main(String[] args) throws IOException {
  5.         BufferedReader lectura = new BufferedReader(new InputStreamReader(System.in));
  6.         System.out.println("Escribe algo, lo que sea:");        
  7.         String dato_usuario = lectura.readLine();
  8.         System.out.println("Escribiste: " + dato_usuario);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment