Array in Java
→ Array is a collection of similar type of elements that have contiguous memory location.
→ It is an object the contains elements of similar data type.
→ Its index start from 0.
Types of Array in java
There are 2 types of array.
Single Dimensional Array in java
Single Dimensional Java Array
Where we are going to declare, instantiate, initialize and traverse an array.
Declaration, Instantiation and Initialization in array
Multidimensional array in java
Data is stored in row and column based index (also known as matrix form).
2 6 8 6 8 10