| |
|
What is Java LinkedList and its features Question Posted on 24 Sep 2019 Home >> Java >> Core Java >> What is Java LinkedList and its features |
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 | |
|
|
|
|