- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
When to use LinkedList over ArrayList in Java
LinkedList should be used where modifications to a collection are frequent like addition/deletion operations. LinkedList is much faster as compare to ArrayList in such cases. In case of read-only collections or collections which are rarely modified, ArrayList is suitable.
- Related Articles
- Convert LinkedList to ArrayList in Java
- Program to convert ArrayList to LinkedList in Java
- Differences between ArrayList and LinkedList in Java
- How to remove an element from ArrayList or, LinkedList in Java?
- Java Program to Iterate over an ArrayList
- What is the difference between ArrayList and LinkedList in Java?
- Java Program to Iterate over ArrayList using Lambda Expression
- Get Enumeration over ArrayList with Java Collections
- When to use C over C++, and C++ over C?
- How to use an ArrayList in lambda expression in Java?
- LinkedList in Java
- Use ListIterator to traverse an ArrayList in the forward direction in Java
- Use ListIterator to traverse an ArrayList in the reverse direction in Java
- When to use an abstract class and when to use an interface in Java?
- When to use @JsonAutoDetect annotation in Java?

Advertisements