# LinkedList

A List and Deque whose elements are connected as a chain of nodes.

## What is **LinkedList** in Java?

**LinkedList** — A List and Deque whose elements are connected as a chain of nodes.

```java
import java.util.LinkedList;

class Route {
    LinkedList<String> stops = new LinkedList<>();

    void addStops() {
        stops.addFirst("Oak");
        stops.addLast("Lake");
    }
}
```

Level: Freelancer · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/linkedlist
