All > Technology > Programming > Java
An array created without an identifier. An anonymous array is usually created as an actual argument, for instance
// Create 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 may also be returned as a method result.- Browse Related Terms: actual argument, actual parameter, actual parameter list, anonymous array, anonymous object, argument, call-by-value, command-line argument, constructor, copy constructor, formal argument, formal parameter, formal parameter list, instanceof, method, method header, method overriding, parameter