haneefnb
asked on
what is the difference between ArrayList and LinkedList?
Hi , plz tell me what is the difference b/w ArrayList and LinkedList? why we go for LinkedList, instead of ArrayList
ArrayList is backed by an array. LinkedList is good for use as a queue or where deletions from the head are required
ASKER
Tell me the schenario which to use when?
>>Tell me the schenario which to use when?
Well i just have ;-) You can use one for your own queue
Well i just have ;-) You can use one for your own queue
arraylist is good for getting and setting items by index
linkedlist is best when you only need to access objects at the head/tail
linkedlist is best when you only need to access objects at the head/tail
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
haneefnb, can you explain why you ignored all comments but the last please?
(-: