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

How many bits is a boolean?

1068


Can we override tostring method in java?

963


Why is java so popular?

1096


What is the impact of declaring a method as final?

1011


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2591


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

1040


Why java strings are immutable in nature?

1042


Can we declare a class as abstract without having any abstract method?

986


Can we override static methods in java?

1060


What is null statement?

990


What is an 8 bit word?

1042


What makes a function well defined?

975


What is a default constructor and also define copy contrucyor?

1093


What are the concepts of 'OOPS'?

1062


how to open and edit XML file in Weblogic???

1961