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
Why wait and notify methods are declared in object class?
What is JVM and is it platform independent?
What are thread priorities and importance of thread priorities in java?
Is minecraft java edition free?
Explain about data types?
Is ruby built on java?
Is node a data type in java?
What is string array?
How do you implement polymorphism in our day to day life?
Can you call a method in a method?
Why string is not thread safe?
What are the important features of Java 8 release?
What is the difference between static method and instance method in Java?
Which sorting is used in arrays sort in java?
What is nested class?