To create an array of Cows, use new and the brackets operator:
Cow[] holsteins = new Cow[num];
but to put an actual Cow in memory, use new and this operator