# Array Length

say it: **“uh-RAY LENGKTH”** **/əˈreɪ lɛŋkθ/**

The fixed number of elements an array can hold.

## What is **Array Length** in Java?

**Array Length** — The fixed number of elements an array can hold.

```java
class Route {
    String[] stops = {"Oak", "Pine", "Lake"};
    String secondStop = stops[1];
    int stopCount = stops.length;
}
```

Level: Apprentice · [More Java terms at this level](https://www.ask-codey.com/glossary?category=java&level=2)

Updated: November 17, 2026

## In other subjects

- [Array Length in C#](https://www.ask-codey.com/glossary/array-length-c-sharp)
- [Array Length in JavaScript](https://www.ask-codey.com/glossary/array-length-javascript)

Source: https://www.ask-codey.com/glossary/array-length
