public class Array {
public static void main(String[] args) {
int[] myList = {1, 2, 3, 4};
for (int x: myList) {
System.out.println(x);
}
}
}
打印所有数组元素 java
猜你喜欢
转载自blog.csdn.net/niceHou666/article/details/82024228
今日推荐
周排行