public class array01 {
public static void main(String [] args) {
int[] abc = { 29, 90, 48, 92};
//增强for循环方式
for(int x :abc) {
System.out.print(x +" ");
}
//换行
System.out.println("");
//for循环
for(int i= 0;i<abc.length;i++) {
System.out.print(abc[i] +" ");
}
}
}