To characterize an exhibit, either utilize the sections documentation or the Array object documentation:
We can utilize the sections  administrator to address a particular cell in our cluster. Tending to utilizations zero-based records, so for instance, in myArray the second part can be tended to with list 1. One of the advantages of utilizing a cluster datastructure is that you have steady time turn upward, on the off chance that you definitely know the record of the component you are attempting to get to.
Will print out:
Declaration of an Array
There are basically two ways to declare an array.
But generally method 1 is preferred over the method 2. Let us understand the reason for this
Initialization of an Array
Example (for Method 1):
Example (for Method 2):