What are Arrays?

You'll get an idea of what arrays are and in what ways can you declare them!

Definition

An array is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.

It is a collection of similar data types under the same name.

Get hands-on with 1400+ tech skills courses.