What are the List interface and its main implementation?
List helps in collections of objects. Lists may include duplicate elements. Main implementations of List interface are as below:
Vector: Synchronized resizable-array implementation of List.
ArrayList: Resizable-array implementation of List interface.
LinkedList: Doubly-linked list implementation of List interface. Better performance than ArrayList implementation when elements are deleted or inserted timely.