how to import an arraylist in java

Java
import java.util.ArrayList;
Source

Also in Java: