Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package eingabe1;
  7. import java.io.*;
  8.  
  9. /**
  10. *
  11. * @author Kreisler
  12. */
  13. public class Eingabe1 {
  14.  
  15. /**
  16. * @param args the command line arguments
  17. */
  18. public static void main(String[] args) throws IOException {
  19.  
  20. String s;
  21.  
  22. BufferedReader einlesen = new BufferedReader (new InputStreamReader(System.in));
  23.  
  24. System.out.println("Bitte eine Eingabe machen: ");
  25.  
  26. s = einlesen.readLine();
  27.  
  28. System.out.println("Die Eingabe: " +s);
  29.  
  30. // TODO code application logic here
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement