使用 Bufferedreader取得输入 Bufferedreader建构时接受 rava.lo. Reader 物件 可使用 java. io InputStreamReader BufferedReader bufferedReader new BufferedReader new InputstreamReader (System. in))i System. out. print请输入一列文字·可包括空白:") String text= buffered Reader. readLineo System. out. println("您输入的文字:"+text) codech03\BufferedReaderDemo iava使用BufferedReader取得输入 • BufferedReader建构时接受java.io.Reader 物件 – 可使用java.io.InputStreamReader BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(System.in)); System.out.print("请输入一列文字,可包括空白: "); String text = bufferedReader.readLine(); System.out.println("您输入的文字: " + text); code\ch03\BufferedReaderDemo.java