> 原文:[https://www . geesforgeks . org/Java-程序迭代数组-使用 for-and-foreach-loop/](https://www.geeksforgeeks.org/java-program-to-iterate-over-arrays ...