摘要:
File总结:File类创建功能: public boolean createNewFile(): 创建一个文件 public boolean mkdir(): 创建一个目录 public boolean mkdirs(): 创建多个目录 File类的判断和获取功能:public boolean i 阅读全文
摘要:
package com.集合进阶;import java.util.*;public class 杨杨牌学生储存系统 { public static void main(String[] args) { List<学生类> c=new ArrayList<学生类>(); y(c); } //定义一个 阅读全文
摘要:
List集合的常用方法void add(int indexE element):在此集合中的指定位置插入指定的元素E remove(int index):删除指定索引处的元素,返回被删除的元素E set(int indexE element):修改指定索引处的元素,返回被修改的元素E get(int 阅读全文
摘要:
Collection集合常用方法:boolean add(E e):添加元素boolean remove(object o):从集合中移除指定的元素void clear():清空集合中的元素boolean contains(object o):判断集合中是否存在指定的元素boolean isEmpt 阅读全文
摘要:
阅读全文