Java Complete container classification diagram
(Image source:)
The dot-wireframe represents the interface, the solid wireframe represents the normal (specific) class, the dot line of the hollow white Arrow indicates that a particular class implements an interface, and a solid black arrow indicates that a class can produce an object that the arrow points to the class.
The difference between ArrayList and LinkedList
The underlying data structure of ArrayList is an array, which excels at random access to elements, and the time complexity of finding elements using Subscripts is O (1), but it is slower to insert and remove elements in the middle of ArrayList.
LinkedList's underlying data structure is a two-way loop linked list, does not support random access, using subscript to find elements of the time complexity is O (n), but in the middle of linkedlist insertion and deletion cost less, faster than ArrayList. (Note: Specific questions, please specific analysis, not necessarily linkedlist fast)
Java Collection Framework