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 are computer functions?

0 Answers  


Is &&= a valid Java operator?

2 Answers  


What is static variable and static method?

32 Answers   Accenture, Prolific, Prolifics, TCS, TNH,


What is the difference between class & structure?

0 Answers  


Is intellij better than eclipse?

0 Answers  






Why we cannot override static method?

0 Answers  


How will you add panel to a frame?

0 Answers  


what is webservices

5 Answers   Consultancy, Mind Tree,


Why char array is favored over string for the storage of passwords?

0 Answers  


What does it mean that a method or field is “static”?

0 Answers  


Why is it called buffering?

0 Answers  


How hashset works internally in java?

0 Answers  


Categories