Arraylist | Linklist |
Random access. | Sequential access.The control traverses from the first node to reach the indexed node. |
Only objects can be added. | The LinkedList is implemented using nodes linked to each other. Each node contains a previous node link, next node link, and value, which contains the actual data |
All about studying for a Java interview in the Financial and trading services industry. I am a software engineer working with trading systems. 20 years experience coding and all things IT.
Sunday, June 15, 2014
What is the difference between an ArrayList and a LinkedList ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment