list集合删除最后一个元素

list.remove(list.size() - 1)

猜你喜欢

转载自blog.csdn.net/qq_43842093/article/details/124964299