/* */ Click to Join Live Class with Shankar sir Call 9798158723

What is Array in Java ?


Array is a collection similar type of data.The type of the elements of the array is called the base type of the array; the number of elements it holds is a fixed attribute called its length . All primitive and reference types array was supported in Java.

In array we need to store a some data, which is "id" or something value which is same type we can take help of the array,and make your array size is fixed in java, so we can't like whatever the size you given for the java that much value we can store only so those are the limitations of array also.


There are two type of Array.

  1. One-Dimensional Array
  2. Two-Dimensional Array