
1
xiaoxixuewu
这个作者很懒,什么都没留下…
展开
-
io流
BufferedWriter: public static void main(String[] args) throws IOException { //创建一个字符写入流对象 FileWriter fw = new FileWriter("buf.txt"); //为了提高字符写入流速率,加入了缓冲技术,只需要将需要被提高效率的流对象作为参数传递 //给缓冲区的...原创 2019-09-17 21:33:21 · 75 阅读 · 0 评论 -
File概述--类
public static void main(String[] args) { consMethod(); } //创建File对象 public static void consMethod() { //将a.txt封装成file对象,可以将已有的和未出现的文件或者文件夹封装成对象。 File f = new File("a.txt"); File f1 = n...原创 2019-09-21 22:18:38 · 188 阅读 · 0 评论 -
io流管道流
public static void main(String[] args) throws IOException { PipedInputStream in = new PipedInputStream(); PipedOutputStream out = new PipedOutputStream(); in.connect(out); Read r = new Read(i...原创 2019-09-26 22:21:42 · 223 阅读 · 0 评论 -
GUI概述
9原创 2019-09-29 22:44:45 · 254 阅读 · 0 评论 -
网络编程
原创 2019-10-10 23:21:30 · 147 阅读 · 0 评论