摘要: 原文链接:https://blog.csdn.net/ACE_kk/article/details/126182500 一、前言在迭代器(Iterator)没有出现之前,如果要遍历数组和集合,需要使用方法。 数组遍历,代码如下: String[] arr = new String[]{"Java", 阅读全文
posted @ 2022-11-09 14:34 Sjh_code 阅读(580) 评论(0) 推荐(0) 编辑