首页
Java
登录
6mi
u
盘
搜
搜 索
Java
list的遍历采用for循环。
list的遍历采用for循环。
xiaoxiao
2021-02-28
100
java基础: (1)、list对象进行循环: for(List listItem : list){
System.out.println(listItem.getId);
}
(2)、list数组进行循环:
String[] customerCode 初始化;
for (String string : customerCodes) {
System.out.println(string);
}
转载请注明原文地址: https://www.6miu.com/read-78541.html
技术
最新回复
(
0
)