obj array[] = new obj[10]; for (int i = 0; i < array.length; i++) { array[i] = new obj(i); }
Class obj[]= new Class[array_length]