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
Write a method to check if input string is palindrome?
Is node a data type in java?
What are static blocks in java ?
What is a stringbuilder?
What is meant by flickering?
What are namespaces in java?
What is string [] java?
Can you inherit a constructor java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
Tell some latest versions in JAVA related areas?
what is server side caching?
What is use of static in java?
How do you add an element to a hashset in java?
what is object-oriented programming in java?
Can we overload final method in java?