Array Creation:
Every array in java is an object only. Hence we can create arrays by using new operator.
eg:int[] a=new int[3]; //valid
For every array type, the corresponding classes are available and theses classes are part of java language and not available to the programmer level.
System.out.print(a.getClass().getName()); //[I

At the time of array creation we need to specify the size of an array or else it will be result in compile time error.
Loopholes in array creation:
eg:int[] a=new int[-3]; //compile fines but runtime exception error:NegativeArrraySizeException

The maximum allowed size for integer array in java is 2147483647 which is the maximum value of int datatype.
Examples:

Even in the first case eg, we get the runtime exception if sufficient head memory is not available.