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...

which one is performance wise advantageious from List,Set,Map?

Answer Posted / pkj

List : storing of data is fast but retrieval is slow.
Map : Stroing of data is slow. But retrieval is slow.
Set : Stroing of data is slow. But retrieval is slow.

Depending on the req the collection can be used

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me are there implementations for sorting and searching in the java libarary?

976


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

996


Is vector synchronized in java?

935


Can a serialized object be transferred via network?

892


How finally used under exception handling?

895


What is the longest unicode character?

1095


What is the properties class?

1027


Is main a function?

957


What is tochararray in java?

876


Is void a wrapper class?

881


Is main a keyword in java?

914


List the interfaces which extends collection interface?

890


What are anonymous inner classes?

960


Can constructor be inherited?

976


What data type is string java?

906