# Array Length

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/subjects/java/apprentice)

Updated: September 27, 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
