在remove方法里,存在着两种删除方式 // 在list{2,3,4,5,6,7}里,如果想删除列表中的4,有: list.remove(2) //参数为列表的下标位置 list.remove(new Interger(4))