1// both are valid declarations
2int intArray[];
3or int[] intArray;
4
5byte byteArray[];
6short shortsArray[];
7boolean booleanArray[];
8long longArray[];
9float floatArray[];
10double doubleArray[];
11char charArray[];
12
13// an array of references to objects of
14// the class MyClass (a class created by
15// user)
16MyClass myClassArray[];
17
18Object[] ao, // array of Object
19Collection[] ca; // array of Collection
20 // of unknown type