Some times we can declare an array without name such type of nameless arrays are called anonymous arrays.
The main purpose of anonymous arrays is just for instant use.ie., one-time usage.
While creating an anonymous array we cannot specify the size other we will get compile time error
eg:
new int[3]{2,3,4}; //invalid
new int[4]{5,5,6,7}; //valid
we can create multi dimensional arrays also
new int[][]{{10,20}{56,9}}; //valid
Based on our requirement we can give the name for anonymous array then it is no longer anonymous.
int[] o=new int[]{3,3}; //valid