王吉元-NWPU

导航

 

上代码:

package com.wjy;

public class Test {
 public static void main(String[] args) {
  int[] attay = new int[5];
    for (int i : attay) {
   System.out.println("it is " + i);
  }

 }
}

运行结果:

it is 0
it is 0
it is 0
it is 0
it is 0

 

posted on 2013-04-12 09:51  王吉元  阅读(138)  评论(0编辑  收藏  举报