import java.util.Arrays; public class TestArray { /* public static void main(String[]args ){ Person Lee=new Person("Lee",20); Person Mary=new Person("Mary",18); Person[] Students=new Person[2]; Students[0]=Lee; Students[1]=Mary; Students[0].setName("piopi"); Lee.getInfo(); Mary.getInfo(); Students[0].getInfo(); Students[1].getInfo(); } */ //public static void main(String[]args ){ // // int[] OneArray=new int[5]; // int[] OneArraya={2,3,2,4}; // int[][] TwoArray=new int[4][];//一个长度为4的一维数组,每个位置又是一个数组{a[],a[]},a[],a[]} // for(int i=0;i