new Pizza[1] creates an (anonymous) array of pizzas of length 1.
The array will be able to reference one object of type Pizza ! The created array will hold a null reference as its first component element. To initialize an array created like that you would have to write the following new Pizza[1]{new Pizza()}.
But created like as it is, it is the same as writing new Pizza[1]{null}
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for
Java 2 Platform