java types of list
There are four types of lists in Java
i.e. Stack, LinkedList, ArrayList, and Vector.
Hence, when you have to implement list Interface,
you can implement any of the above list type class depending on the requirements.
To include the functionality of the list interface in your program,
you will have to import the package java.util.
* that contain list interface and other classes definitions as follows:
import java.util.*;