摘要:
字符流操作文件 import java.io.*; public class Example08 { public static void main(String[] args) throws Exception { // 创建一个FileReader对象用来读取文件中的字符 FileReader reader = new FileReader("r... 阅读全文
posted @ 2016-03-02 17:41
小纸条
阅读(290)
评论(0)
推荐(0)
摘要:
import java.io.*; public class Example01 { public static void main(String[] args) throws Exception { // 创建一个文件字节输入流 File file=new File("D:/test.txt"); FileInputStream inp... 阅读全文
posted @ 2016-03-02 16:43
小纸条
阅读(267)
评论(0)
推荐(0)

浙公网安备 33010602011771号