difference between arraylist and linkedlist otherthan
Answers were Sorted based on User's Feedback
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|
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|
Explain method local inner classes ?
Which all r Final classes in java except string?
Name the package that most of the AWT events that supports event-delegation model are defined?
What is the final access modifier in java?
Mention some interfaces implemented by linked list in java.
Linked List reverese program
What is the replace tool?
What is a stream? what are the different types and classes of Streams?
wat is final...? wat is finally...? wat is finalize....? difference between " final and finally and finalize "...?
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))
Can we define static methods inside interface?
What is a classloader in java?