Anonymous array: It is an array formed without an identifier. The anonymous array is generally formed as an actual argument, for example:
// generate an anonymous array of integers.
YearlyRainfall y2k = new YearlyRainfall (
new int[]{ 10,10,8,8,6,4,4,0,4,4,7,10,});
An anonymous array might also be returned as a method outcome.