All members of an array will have to be the same type
The lines below instantiate the array only not the members in the array.
int grades [] = new int [50];
char alphabet [] = new char [26];
double money [] = new double[30];
String [] names = new String[30];
T [] b = new T [5]
Student [] CSCI15A = new Student[70];
Person [] familyRecord = new Person[numPersons];
Color [] rainbow = new Color[7];
Now let's put things into the array
for (int i=0; i < 4; i++) {
list[i] = i;}
here is another
Person [] familyRecord = new Person[DEFAULT_SIZE];
for (int i=0; i < DEFAULT_SIZE; i++) {
familyRecord[i] = new Person();}
here is another
Person [] familyRecord = new Person[numPersons];
for (int i=0; i < familyRecord.length; i++) {
familyRecord[i] = new Person();}
and another
int [ ] sales = new int[SALESPEOPLE];
Scanner scan = new Scanner(System.in);
for (int i=0; i< sales.length; i++)
{
System.out.print("Enter sales for salesperson " + i + ": ");
sales[i] = scan.nextInt();
}