📜  如何循环遍历数组 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:34.738000             🧑  作者: Mango

代码示例6
int[] numbers = {1,2,3,4,5};
for (int i = 0; i < numbers.length; i++) {
    System.out.println(i);
}