Introduction

A list is an ordered collection of values. In Java, lists are part of the Java Collections Framework. Lists implement the java.util.List interface, which extends java.util.Collection.

Syntax

Remarks

A list is an object which stores a an ordered collection of values. “Ordered” means the values are stored in a particular order–one item comes first, one comes second, and so on. The individual values are commonly called “elements”. Java lists typically provide these features: