mirror of
https://github.com/DerTyp7/lf05-java.git
synced 2025-10-29 12:32:12 +01:00
18 lines
433 B
Java
18 lines
433 B
Java
package eingabeUndAusgabe;
|
|
|
|
import java.io.BufferedReader;
|
|
import java.io.IOException;
|
|
import java.io.InputStreamReader;
|
|
|
|
public class Benutzer {
|
|
public static void main(String[] args) throws IOException {
|
|
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
|
|
|
|
System.out.println("Enter your name:");
|
|
|
|
String text = br.readLine();
|
|
System.out.println("Hallo " + text);
|
|
|
|
}
|
|
}
|