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
Does isempty check for null?
Can we serialize arraylist in java?
What are different ways of object creation in java ?
In java, how we can disallow serialization of variables?
Explain the significance of listiterator.
What is a package in java? List down various advantages of packages.
How do you clear a method in java?
What are the different types of garbage collectors in java?
Is java same as core java?
Is alive method in java?
What interface is extended by awt event listeners?
What are void methods?
What is the difference between Array and Hash Table?
What is the purpose of the runtime class in java programming?
Is it possible for yielded thread to get chance for its execution again ?