Java tutorial
import java.io.IOException; public class Main { public static void main(String[] arg) { System.out.println("Type something"); try { System.in.read(); } catch (IOException e) { e.printStackTrace(); } } }