If I have 1000 objects and my requirement is to sort them
quickly, then which collection would you recommend and why?
Answer Posted / sanjay
ArrayList. indexing is easy, count of objects is already known.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Which is faster set or list in java?
What are bind parameters?
how to prepare for IT Officers Interview in Banks
What is the purpose of format function?
What is string and its types?
Is boolean a data type in java?
Can a class be private?
What is array command?
What is public static?
What is jit compiler ?
What is runtime polymorphism or dynamic method dispatch?
What is an abstract method in java programming?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
how is final different from finally and finalize in java?
What are the different access modifiers available in java?