![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javase
文章平均质量分 76
遥远远远远、
这个作者很懒,什么都没留下…
展开
-
Javase自学笔记-->集合Collection框架
集合Collection 集合,数组-->对多个数据的存储,简称Java容器 大体分为:Collection接口,Map接口两大体系 1.Collection接口通用功能 add,size,addAll,isEmpty,contains,containsAll之流 hashcode,toArrays:集合-->数组,asList:数组-->集合==注意,new int[]这种会认为是一个元素-->写成new Interger 2.迭代器Iterator接.原创 2021-09-20 15:14:43 · 73 阅读 · 0 评论 -
Javase自学笔记-->IO流
IO流 1.File 实例化-->构造器 构造器1:(path) 相对路径-->相对于当前module,绝对路径 构造器2:(parentpath,childpath) 构造器3:(file,childpath) 1.1常用方法 public class FileTest { @Test public void test1() throws IOException { File file1 = new File("hello.txt"原创 2021-09-20 15:01:18 · 63 阅读 · 0 评论