图片.png 当传入的参数是int时,将参数当做被移除元素的index 当传入的参数是Object时,当成被移除的元素 如果list{3,4,5,1,2},想移除元素1 不能写list.remove(1) 而是list.remove((Integer)1)