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 force garbage collector to run ?

0 Answers   B-Ways TecnoSoft,


What is the syntax and characteristics of a lambda expression?

0 Answers  


Are floats faster than doubles?

0 Answers  


What is the difference between object oriented programming language and object based programming language?

0 Answers  


How are this and super used?

7 Answers   IBM,






What is the use of parse function in java?

0 Answers  


how to call a method in different package?

4 Answers  


how we can make a read-only class in java?

0 Answers  


public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why

2 Answers  


Does java allow default arguments?

0 Answers  


How does enum work in java?

0 Answers  


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

0 Answers   HCL,


Categories