An array is a collection of variables of the same data type that are referenced by a common name. Arrays can be- Single Dimensional andTwo-Dimensional