1 InputStreamReader 是字节流通向字符流的桥梁,解码成字符
2OutPutStreamWriter是字符流通向字节流的桥梁,编码成字节
public static void main(String[] args){
InputStream in =System.in;
InputStreamReader isr = new InputStreamReader(in);
BuffereReader br = new BuffereReader(isr);
String line=null;
while((line=br.readLine())!=null){
System.out.println(line);
}
}