arraylist与List<>

arraylist 不用规定 类型

list<>用规定类型

推荐list

这个编译检查类型  出错率低 代码质量高

原文地址:https://www.cnblogs.com/handsomer/p/4462299.html