有, Arrays.fill() http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html#fill%28intX2X],%20int%29
java在你创建数组之后就自动把全部元素赋值为0了,(0for整数,0.0for浮点数,nullfor字符串等),你费什么劲呢。