---
description: chain it up and ship it
---

# Linked List in Java

It is a doubly `linked-list`, deal with it.

## Initialisation

```java
import java.util.LinkedList;

public class Main {
  public static void main(String[] args) {
    LinkedList<String> cars = new LinkedList<String>();
    cars.add("Volvo");
    cars.add("BMW");
    cars.add("Ford");
    cars.add("Mazda");
    System.out.println(cars);
  }
}
```

Just refer to the documentation for the methods

[read more](https://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html)
