difference between arraylist and linkedlist otherthan
performance

Answers were Sorted based on User's Feedback



difference between arraylist and linkedlist otherthan performance..

Answer / 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

difference between arraylist and linkedlist otherthan performance..

Answer / rahul

There are lot of method in LinkedList like addFirst(),
addLat(), pop(), peak() etc.
But ArrayList dont.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is an anonymous class?

1 Answers   IBM,


What is final variable?

0 Answers  


What is the technique adopted to create an immutable class?

0 Answers  


What is super constructor?

0 Answers  


Why does abstract class have constructor?

0 Answers  






Why is a string immutable?

0 Answers  


Is null or empty java?

0 Answers  


Why do we need variables?

0 Answers  


What are null interfaces in JAVA ? and give me some examples?

5 Answers  


can we write two same methods in outer class and innerclass.

1 Answers   3i Infotech,


How can final class be used?

5 Answers   Accenture, Wipro,


What is covariant return type?

0 Answers  


Categories