ArrayList list = new ArrayList();
list.add(“java”);
list.add(“se”);
for(String s:list) {
System.out.println(s);
}
java增强for
最新推荐文章于 2023-02-07 18:42:54 发布
ArrayList list = new ArrayList();
list.add(“java”);
list.add(“se”);
for(String s:list) {
System.out.println(s);
}