package base.baidua;
public class ForDemo3 { public static void main(String[] args) { int[] nembers = {5,6,9,20,50};//定义了一个数组
for (int x :nembers){ System.out.println(x); } }
}