📜  如何在java代码示例的同一行中声明并将值插入arraylist
📅  最后修改于: 2022-03-11 14:52:21.759000             🧑  作者: Mango
代码示例1
ArrayList places = new ArrayList<>(Arrays.asList("Buenos Aires", "Córdoba", "La Plata"));