If I have 1000 objects and my requirement is to sort them
quickly, then which collection would you recommend and why?
Answer Posted / ashutosh dhar
sorted set, already sorted.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How is tree Mirroring implemented?
what is server side caching?
How do you declare a variable?
Explain about exception propagation?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is the size of a string in java?
What is a treeset class?
In java, what is the difference between method overloading and method overriding?
What is a vararg?
Explain the scope or life time of class variables or static variables?
What are triggers in DB? Explain their types. How do they work?
Is java still necessary?
What is a layout manager and what are different types of layout managers available in java awt?
Why packages are used?
What is contract between hashcode and equal method?