Which collection object is faster to retrieving the data and
inserting the data into it.
Answers were Sorted based on User's Feedback
Answer / nav dev
ArrayList is faster to retrieving
Set is faster to inserting
Is This Answer Correct ? | 21 Yes | 1 No |
Answer / lavanya
LinkedLisr is facter in inserting and retrieving from any
position on the list.
Is This Answer Correct ? | 11 Yes | 3 No |
What is the difference(or similarity if there are some) between object and a variable?
what is polymorphism with example?types of polymorphism?
What is casting?
Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?
What is an object's lock and which object's have locks in java programming?
What is unicode used for?
What are the advantages of assembly language?
can we override the main() method in java????
3 Answers Vimukti Technologies,
Which command from the jdk compiles a java program?
What is the exception hierarchy in java?
Explain wrapper classes in java?
What is singletonlist in java?