1,字符缓冲输入流:


输入流的使用范例:
创建缓冲流:
BufferedReader bos = new BufferedReader(new FileReader("G:\\xxx\\student.txt"));
//将读取的行内容保存;String line;//循环读取while ((line = bos.readLine()) != null){String[] split = line.split("=");map.put(split[0],Integer.parseInt(split[1]));}
2,字符缓冲输出流:


- 输出流的使用范例:
