Since this period of time has been learning Android, seemingly a long time did not update the Java blog, today continue our array summary.
1. An array is a data type consisting of a set of variables of the same type, 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 the array in Java, you must go through two steps: (1) declare an array, (2) open up memory to the array.
3, in Java to get the length of the array (that is, the number of array elements), you can use. length to complete.
4. If you want to assign an initial value to an array at the time of declaration, simply append the initial value to the declared format of the array.
5. Java allows the number of elements in each row in a two-dimensional array to be different.
6, in a two-dimensional array, if you want to get the entire array of rows, or the number of elements of a row, you can also take advantage of. length to get.
7, method overloading: In the same class allows the existence of more than one method of the same name, as long as they have a different number of arguments or types. In this case, the method is called overloaded, and this process is called the overloading of the method.
Well-off accompany you to learn the summary of the Java--------array