Skip to content

Glossary: Java Basics

List

Also written: lists, List.of

An ordered collection that can hold many values, which you reach by index. `List.of(...)` makes a quick list that can never change.

Where the book teaches it

Related terms

ArrayListGenericsUnsupportedOperationException