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
What is the implementation of destroy method in java. Is it native or java code?
How to use Media tracker Class.
Is ++ operator is thread safe in java?
Explain importance of inheritance in java?
What does void * mean?
What is a null class?
How listener identify that the event came from a particular object?
How do you sort arrays in java?
Explain the difference between abstract classes and interfaces in java?
Explain about strings in java?
What is scope of a variable?
What does serializing data mean?
Explain the difference between comparator and comparable in java?
How do you declare a string variable?
What is multi level inheritance in java?