Difference Between ArrayList and LinkedList

ArrayList :

ArrayList impliments the List interface.
ArrayList is not synchronized.
ArrayList is faster accesing of elemnts compared to linked list.
It also accepts null values.
ArratList size automatically grows when we add the elements to the array.

Linked List :
Linked List also impliments the List interface.
Linked List is not synchronized.
Linked List is not to faster for accessing the elemnts,But it is faster to add and removing the elements.

0 Response to "Difference Between ArrayList and LinkedList"

Post a Comment