package in java for arraylist code example Example: arraylist java package name import java.util.ArrayList;