java 创建自定义数组

java 创建自定义数组

1.java创建自定义类数组方法:Student[]stu=newStudent[3];for(inti=0;i3;i++){stu[i]=newStudent();