forint friendIndexfriendsi可以用什么代替
可以使用普通的for循环来代替,如下所示:
for(int j = 0; j < friends[i].length; j++) {
int friendIndex = friends[i][j];
// 做其他操作
}
原文地址: https://www.cveoy.top/t/topic/hKCk 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
可以使用普通的for循环来代替,如下所示:
for(int j = 0; j < friends[i].length; j++) {
int friendIndex = friends[i][j];
// 做其他操作
}
原文地址: https://www.cveoy.top/t/topic/hKCk 著作权归作者所有。请勿转载和采集!