数组的定义:int[] num=new int[10];Employee[] staff=new Employee[100];ArrayList的使用:List lst=new ArrayList();lst.add(employee);