Is there some hidden meaning in this code which I don\'t see in java? How can it be useful?
int[] a = new int[1];
than just
int
All arrays in java are objects. when declaring: int x = 5; you're declaring a primitive type.
int x = 5;
When declaring int[] x = new int[]; you're creating an object with type int[].
int[] x = new int[];
int[]
So int[] is actually a class.