difference between arraylist and linkedlist otherthan
performance
Answer Posted / db
In array list if we perform insertion or deletion operation, then there is many changes in the remaining objects to get adjust. if any operation like insertion or deletion is performed on linked lists there is only updation links between the nodes. so if there is lots of insertions and deletions better to go with linked lists rather than array list.
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is jagged array in java?
What is string pool in java?
Does java support multiple inheritances?
What is meant by distributed application? Why are we using that in our application?
What are the topics in advance java?
Why do we create threads in java?
How to make object serializable in java?
Java is pass by value or pass by reference? Explain
What will be the output of round(3.7) and ceil(3.7)?
How many bytes is a string java?
Can you use abstract and final both with a method?
What is thread life cycle in java?
What is the difference between path and classpath variables?
What is the difference between class forname and new?
What Is Query Throttling in java?