9.6. Anonymous Arrays

Anonymous arrays are nameless array of a specific type. Neither the name of the array nor the size of the array is specified. The construct returns the reference value of the newly-created array, which can be assigned to references and passed as argument in method calls.

The general syntax of creating anonymous arrays is as follows

new <element type>[] { <array initialize list> }

		// Example Code here