• LinkedList is the implementation class of the List interface which is also used to store groups of individual objects where duplicate values are allowed.
  • LinkedList internally follows a doubly linked list structure where all the elements are stored in the form of nodes which linked to each other.
  • LinkedList is not a synchronized class.
  • Linked List also supports multiple null values.
Creation of LinkedList:

LinkedList<E> ll= new LinkedList<E>();
LinkedList<E> ll = new LinkedList<E>(Collection obj);


there is no capacity concept for LinkedList

Methods of LinkedList:

- we can use all Collection Methods to work with the Linked List.

You May Also Like

Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.