An array is a collection of homogeneous data. In other words we can say that an array is a collection of similar type of data with a single name.
Types of array are following:
- One dimensional array : To reference all the items in a uniform manner we can use one dimensional array.
- Two-dimensional array : Two-dimensional array is useful in programming and problem solving.
- Multi-dimensional array : An array with more than two-dimensions is a multi-dimensional array.