Properties LinkedList (Class) and when LinkedList can be used .

LinkedList 

1.  LinkedList insertion order is preserved
2.  In LinkedList duplicates values are allowed
3.  In LinkedList null insertion is possible.
4.  In LinkedList we can insert Heterogeneous objects
5.  LinkedList implements Serializable and Clonable but not   RandomAccess  interface.


LinkedList is best choice when  frequently elements is inserted or deleted in middle .

Comments