|
Answer» What is Java LinkedList and its features Java LinkedList is linear Java data structures and all the elements are stored in non-contiguous memory LOCATIONS. And doubly linked list is used in Java LinkedList. Below are the 9 MAIN features of Java LinkedList (1)It inherits the AbstractList class and implements List and Deque interfaces. (2)It can CONTAIN duplicate elements. (3)It can maintain insertion order. (4)It is non-synchronized (5)MANIPULATION is fast in this because no SHIFTING needs to occur (6)It can be used as a list, stack or queue. (7)The elements are linked using pointers and addresses. (8)Each element is known as a node. (9)It is part of java.util
|