import java.io.*; public class StandardInputTest{ public static void main(String [ ] args) throws IOException{ System.out.println("Type some characters and press Enter"); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String response = br.readLine( ); System.out.println("You typed: " + response); } }