设计模式
未读
设计模式——Iterator模式
Iterator模式 Java 中可以使用 for 循环语句遍历数组。 for (int i = 0; i < arr.length; i++) {
System.out.println(arr[i]);
}
这里循环变量 i 的作用抽象化、通