Dog[] dogs = new Dog[7];
dogs[5] = new Dog();
dogs[0] = new Dog();
According to the book I'M reading the second two lines here create instances but the first only creates an array.
I'M still learning how to program but it looks to me like the fist line is also creating an instance. And it also seem
like that would be better anyway. If you have to explicitly tell each element in the array that it's an object, then that's just as much
typing as if you never used an array in the first place. Again remember, I'M learning.