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
What are triggers in DB? Explain their types. How do they work?
What is array and arraylist in java?
What is rule of accessibility in java?
How arrays are stored in memory in java?
How do you input a string in java?
How does indexof work?
What is boolean strategy?
What is the properties class in java programming?
What is static in java?
What is the primitive type short?
If a variable is declared as private, where may the variable be accessed?
What is initial size of arraylist in java?
What happens if we don’t define serial version uid?
What is string manipulation?
Is linkedlist thread safe in java?