1. An array is made up of a set of variables of the same type, which are represented by a common name. The array is divided into one-dimensional, two-dimensional and multidimensional arrays according to the complexity of the storage elements.
2. Using an array in Java must go through the declaration array and open up memory to the two steps of the array. Declaring an array will open up space in the stack memory and point to the heap memory space to use, and you can use the New keyword to open up the heap memory space while specifying the amount of space to open.
3. In Java to get the length of the array (that is, the number of elements), you can use. length to complete.
4. Array access to use subscript, if the subscript is accessed beyond the scope of the array, an array out-of-bounds exception occurs.
5.Java allows each row in a two-dimensional array to have a different number of elements.
6. The passing of an array is a pass of the reference data type, passing the use of the heap memory address, an array can have multiple names pointing to the same heap memory space, and each name can modify the contents of the heap memory.
7. After JDK5.0 The new Java feature, the main function is to easily output the contents of the array.
Some basic concepts of arrays