标签:
package IO_Test; import java.io.*; public class FileIO { public static void main(String argv[]) { try { BufferedReader br = new BufferedReader( new FileReader("I:\\IO.txt")); String line = br.readLine(); while(line!=null){ System.out.println(line); line = br.readLine(); } br.close(); } catch (Exception e) { // TODO: handle exception System.out.println(e.toString()); } finally{ } } }
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/u013617144/article/details/46709281