Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the implementation of destroy method in java. Is it native or java code?

902


How to use Media tracker Class.

1081


Is ++ operator is thread safe in java?

892


Explain importance of inheritance in java?

964


What does void * mean?

954


What is a null class?

922


How listener identify that the event came from a particular object?

1950


How do you sort arrays in java?

878


Explain the difference between abstract classes and interfaces in java?

1095


Explain about strings in java?

1015


What is scope of a variable?

1037


What does serializing data mean?

897


Explain the difference between comparator and comparable in java?

881


How do you declare a string variable?

955


What is multi level inheritance in java?

961