Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 ?    9 Yes 2 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

Explain method local inner classes ?

0 Answers  


Which all r Final classes in java except string?

5 Answers   HCL,


Name the package that most of the AWT events that supports event-delegation model are defined?

2 Answers  


What is the final access modifier in java?

0 Answers  


Mention some interfaces implemented by linked list in java.

0 Answers  






Linked List reverese program

2 Answers   Bally Technologies,


What is the replace tool?

0 Answers  


What is a stream? what are the different types and classes of Streams?

2 Answers  


wat is final...? wat is finally...? wat is finalize....? difference between " final and finally and finalize "...?

2 Answers  


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


Can we define static methods inside interface?

0 Answers  


What is a classloader in java?

0 Answers  






Categories