"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummersscce.org

Dinesh Arora

Greenhorn

Posts: 21

posted 10 years ago

They are both a part of Collection framework(LIST). Each ahs it's own advantage and disadvantage-

If you want a quick retreival of objects, use ArrayList. If you have to do plenty of additiona and deletion, you can use Linked listArrayList does not maintain any order while inserting.LinkedList manitian insertion order and can also sort itslef optionally to most recently access value.

It's a designing factor you might need to consider to improve the performance of a application/project.