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 preparedstatement in java?

0 Answers  


hr interview how many minutes asking question

0 Answers  


Why there is no call by reference in java?

0 Answers  


Can we create an object of private class?

0 Answers  


What exactly is a .class file?

0 Answers  






How is hashset defined in java?

0 Answers  


What is preflight request?

0 Answers  


Does apple use java?

0 Answers  


What is the difference between Static and final?

1 Answers  


how we can make a read-only class in java?

0 Answers  


Where can I find jdk in my computer?

0 Answers  


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

0 Answers  


Categories