Writer out
= new BufferedWriter(new OutputStreamWriter(System.out));
OutputStreamWriter 是字符流通向字节流的桥梁...
控制台输出的不是字符吗???? OutputStreamWriter 怎么是字符转为字节???
InputStream in =System.in;
//将字节流对象转换为字符流对象,使用转换流InputStreamReader
InputStreamReader isr =new InputStreamReader (in);
键盘输入的是字符啊,,,怎么将字节流对象转换为字符流对象,使用转换流InputStreamReader????
求解啊 |