Java Array Tutorial

Java Array Tutorial | The array in Java is a referenced data type used to create a fixed number of multiple variables or objects of the same type to store multiple values of similar type in contiguous memory locations with a single variable name.

In Java, the “array” is not a keyword rather it is a concept. It creates continuous memory locations using other primitive or reference data types. It is used to store a fixed number of multiple values and objects of the same types in contiguous memory locations. The size of the array is fixed, which means after the array creation we can’t increase or decrease the size of the array.

Array Tutorial in Java

Must learn,

  1. Array in Java
  2. Multidimensional Array
  3. Anonymous Array
  4. Array of Objects
  5. Jagged Array
  6. System.arraycopy()

Java Arrays Class,

Other tutorial on Java array,

Java Array Programs

Increase your knowledge by solving programs on Java array. Read the problems, write the code and check the output.

Java programs on single dimensional (1D) array

More Simple Single Dimensional Array Programs in Java

Java Matrix Programs


In Java, the matrices are the two-dimensional arrays. It has a row and column arrangement of its elements. A matrix with m rows and n columns can be called an m × n matrix. Individual entries in the matrix are called elements and can be represented by aij which suggests that the element a is present in the ith row and jth column.

Multi-dimensional array and Matrix Programs in Java

Note:- This page contains link of all the post (tutorial and programs) related to “Java array”.