Which collection object is faster to retrieving the data and
inserting the data into it.

Answers were Sorted based on User's Feedback



Which collection object is faster to retrieving the data and inserting the data into it...

Answer / nav dev

ArrayList is faster to retrieving

Set is faster to inserting

Is This Answer Correct ?    21 Yes 1 No

Which collection object is faster to retrieving the data and inserting the data into it...

Answer / lavanya

LinkedLisr is facter in inserting and retrieving from any
position on the list.

Is This Answer Correct ?    11 Yes 3 No

Post New Answer

More Core Java Interview Questions

Can we use different return types for methods when overridden?

0 Answers  


How do you add an element to a hashset in java?

0 Answers  


What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?

2 Answers  


What is the collection interface?

0 Answers  


can we have function for truncating the sign as like abs in oracle.

1 Answers  






What is consumer interface?

0 Answers  


What is the use of join method?

0 Answers  


Can we have any code between try and finally blocks?

0 Answers  


Ducking is automatic in checked exception?True or false

2 Answers  


When is finally block not called?

0 Answers  


Can we have two main methods in a java class?

0 Answers  


What are the different tags provided in jstl?

0 Answers  


Categories