Importance of array in Java
Following are some important points about Java arrays. Since arrays are objects in Java, we can find their length using the object property length. Java array can be also be used as a static field, a local variable or a method parameter. The size of an array must be specified by an int or short value and not long.