which one is performance wise advantageious from List,Set,Map?
Answer Posted / pkj
List : storing of data is fast but retrieval is slow.
Map : Stroing of data is slow. But retrieval is slow.
Set : Stroing of data is slow. But retrieval is slow.
Depending on the req the collection can be used
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Tell me are there implementations for sorting and searching in the java libarary?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Is vector synchronized in java?
Can a serialized object be transferred via network?
How finally used under exception handling?
What is the longest unicode character?
What is the properties class?
Is main a function?
What is tochararray in java?
Is void a wrapper class?
Is main a keyword in java?
List the interfaces which extends collection interface?
What are anonymous inner classes?
Can constructor be inherited?
What data type is string java?