Jan 14, 2009

Compare Linked List versus ArrayList.

Compare Linked List versus ArrayList.

Arraylist is a resizable array, Link list does not allow random access. Where as arraylist allows random access. In arraylist the elements are always stored in contiguous memory which is not required in Link List.

No comments:

Post a Comment