Java 输入输出新总结

Scanner cin = new Scanner(new BufferedInputStream(System.in));

Scanner cin = new Scanner(new BufferedInputStream(new FileInputStream("E:/temp.txt")));

BufferedReader cin = new BufferedReader(new InputStreamReader(System.in));

BufferedReader cin = new BufferedReader(new InputStreamReader(new FileInputStream("E:/temp.txt")));

PrintWriter out = new PrintWriter(System.out);

PrintWriter out = new PrintWriter(new FileOutputStream("E:/temp.txt"));

System.out.println();

posted on 2013-03-28 18:02  Sure_Yi  阅读(202)  评论(0编辑  收藏  举报

导航