Which collection object is faster to retrieving the data and
inserting the data into it.
Answer Posted / nav dev
ArrayList is faster to retrieving
Set is faster to inserting
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
What happens if I remove static from main method?
What is the default size of set in java?
Will the jvm load the package twice at runtime?
Explain about main() method in java ?
What is string immutability?
Can we define constructor in inner class?
What is default size of arraylist in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What does file separator do in java?
Write a program to reverse a number in java?
Why does java have two ways to create child threads? Which way is better?
What do you mean by object?
What is difference between string and new string?
Is empty set an element of empty set?
Define jit compiler?