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 a map? What are the implementations of map?
What do you mean by formatting?
What is a war file?
Write a program to print count of empty strings in java 8?
What is qualitative variable?
What is encapsulation in java?
What is ‘is-a ‘ relationship in java?
How does hashmap work in java ?
What is time complexity algorithm?
How many types of constructors are used in java?
What is sizeof in java?
Why java is call by value?
What is meant by collection in java?
What is static keyword in java?
What are the two types of streams offered by java 8?