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 final field modifier?
What are JVM.JRE, J2EE, JNI?
What is the size of integer?
What is the difference between a loader and a compiler?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
What is an anonymous class in java?
Which browsers work with java?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
What does nextint () do in java?
What is formatted output?
What is advantage of java?
Explain yield() method in thread class ?
Explain reverse a linked list recursive java solution?
What does indexof mean?
Can singleton class be inherited in java?