@@ -0,0 +1,372 @@
+import java.io.*;%0A%0Apublic class BRRead%0A%7B%0A  public static void main(String args%5B%5D) throws IOException%0A  %7B%0A    char c;%0A%0A    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A    System.out.println(%22Enter characters, 'q' to quit.%22);%0A%0A    // read char%0A    do%0A    %7B%0A      c = (char) br.read();%0A      System.out.println(c);%0A    %7D while (c != 'q');%0A  %7D%0A%7D%0A

Use BufferedReader to read characters