Algorithm and data structure examples in Java.
Collection interface is subtype of a List. Collection interface methods are also present in list interface.
List cant be instantiated as it is an interface. For creation of instance of the List, create concrete implementation instance of the interface. In Java Collection APIs, these options are present:
In java.util.concurrent package, List implementations