⌨️ap computer science principles review

Array

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

An array is a data structure that stores a fixed-size, ordered collection of elements of the same type. Elements in an array are accessed using their indices.