当前位置: 技术问答>java相关
【急】数组的初始化问题;请教高手!!!
来源: 互联网 发布时间:2015-08-24
本文导语: //: ArrayClassObj.java public class ArrayClassObj { public static void main(String[] args) { Integer[] a = new Integer[20]; prt("length of a = " + a.length); for(int i = 0; i
//: ArrayClassObj.java
public class ArrayClassObj {
public static void main(String[] args) {
Integer[] a = new Integer[20];
prt("length of a = " + a.length);
for(int i = 0; i
public class ArrayClassObj {
public static void main(String[] args) {
Integer[] a = new Integer[20];
prt("length of a = " + a.length);
for(int i = 0; i